Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.18 KB

File metadata and controls

26 lines (18 loc) · 1.18 KB
title i18nReady githubURL
getStaticPaths() function required for dynamic routes.
true

import DontEditWarning from '~/components/DontEditWarning.astro'

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

What went wrong?

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: