Can we use dynamic routing with getStaticPaths()? #2705
Unanswered
mattfranciswork0
asked this question in
Help
Replies: 1 comment 2 replies
-
You cannot use I think you meant to ask this here instead: https://github.com/vercel/next.js/discussions |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Situation:
I have a folder named listing, inside the folder I have [types].js
I only want movies and tvs to be valid [types].js
Such as localhost:3000/listing/movies and localhost:3000/listing/movies should be the only valid routes
Code:
Beta Was this translation helpful? Give feedback.
All reactions