跳转到内容

Astro.glob() used outside of an Astro file.

此内容尚不支持你的语言。

AstroGlobUsedOutside: Astro.glob(GLOB_STR) can only be used in .astro files. import.meta.glob(GLOB_STR) can be used instead to achieve a similar result.

What went wrong?

Astro.glob() can only be used in .astro files. You can use import.meta.glob() instead to acheive the same result.

See Also: