Skip to content

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.

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

See Also:

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community
京ICP备15031610号-99