spbks
how to prerender route with dynamic path segment? (like generateStaticParams in next.js)
on a route with a dynamic path segment, like
pages/docs/[slugs].vue
, how can i tell nuxt to prerender this route for a list of slugs, like ["get-started", "other"]
, and for all other slugs, display a 404 page?4 replies