Dynamic routes but with specific static routes
Unanswered
West African Lion posted this in #help-forum
West African LionOP
I have a folder structure like this:
How do I get the NextJS router to route to the specific route id in conjunction with the dynamic route? Is this possible?
src/
|--app/
|--games/
|--[id]
|--page.tsx
|--specific-route-id.tsxHow do I get the NextJS router to route to the specific route id in conjunction with the dynamic route? Is this possible?
1 Reply
West African LionOP
I figured out that you need a folder to do this. This seems to work:
src/
|--app/
|--games/
|--[id]/
|--page.tsx
|--specific-route-id.tsx/
|--page.tsx