Zum Inhalt springen
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

getStaticPaths() function required for dynamic routes.

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

GetStaticPathsRequired: getStaticPaths() function is required for dynamic routes. Make sure that you export a getStaticPaths function from your dynamic route.

In Static Mode, all routes must be determined at build time. As such, dynamic routes must export a getStaticPaths function returning the different paths to generate.

See Also:

Wirke mit

Worum geht es?

Community