跳到內容
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

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:

貢獻

你有哪些想法?

社群