Missing params property on getStaticPaths route.
此内容尚不支持你的语言。
GetStaticPathsExpectedParams: Missing or empty required
params
property ongetStaticPaths
route.
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:
Will create the following route: site.com/blog/1
.
See Also:
Error Reference