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

Invalid prerender export.

本頁內容尚未翻譯。

Example error messages:
InvalidPrerenderExport: A prerender export has been detected, but its value cannot be statically analyzed.

The prerender feature only supports a subset of valid JavaScript — be sure to use exactly export const prerender = true so that our compiler can detect this directive at build time. Variables, let, and var declarations are not supported.

貢獻

你有哪些想法?

社群