Missing params property on getStaticPaths route.
This content is not available in your language yet.
GetStaticPathsExpectedParams: Missing or empty required
paramsproperty ongetStaticPathsroute.
What went wrong?
Section titled 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:
---export async function getStaticPaths() { return [ { params: { id: '1' } } ];}---Will create the following route: site.com/blog/1.
See Also:
Error Reference