Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
how to prerender route with dynamic path segment? (like generateStaticParams in next.js) - Nuxt
N
Nuxt
•
2y ago
•
3 replies
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
pages/docs/[slugs].vue
, how can i tell nuxt to prerender this route for a list of slugs
, like
["get-started", "other"]
["get-started", "other"]
, and for all other slugs
, display a 404 page
?
Nuxt
Join
Nuxt Community Chat Server
31,817
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Parallel and Intercepting route feature like Next JS
N
Nuxt / ❓・help
17mo ago
Prerender Ignore Wildcard Path
N
Nuxt / ❓・help
2y ago
Dynamic route in nuxtRouteMiddleware
N
Nuxt / ❓・help
3y ago
Prerender specific page/route components
N
Nuxt / ❓・help
2y ago