跳到內容

getStaticPaths() function required for dynamic routes.

本頁內容尚未翻譯。

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:

Contribute

你有哪些想法?

Community