spbks
spbks
NNuxt
Created by spbks on 6/25/2024 in #❓・help
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