On this page
Missing params property on getStaticPaths route.
GetStaticPathsExpectedParams: Missing or empty required
params
property ongetStaticPaths
route.
What went wrong?
Every route specified by getStaticPaths
require a params
property specifying the path parameters needed to match the route.
For instance, the following code:
pages/blog/[id].astro
Will create the following route: site.com/blog/1
.
See Also:
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/reference/errors/get-static-paths-expected-params/