You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is the image of my folder structure.
I want to know, how to name the dynamic routes and where to place that file so that I can render component with the path https://localhost:3000/treks/[id] like this.
I am facing this issue only with the way shadcn structure the nextjs project. If I use a raw nextjs project then it has a different folder structure.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Below is the image of my folder structure.
I want to know, how to name the dynamic routes and where to place that file so that I can render component with the path https://localhost:3000/treks/[id] like this.
I am facing this issue only with the way shadcn structure the nextjs project. If I use a raw nextjs project then it has a different folder structure.
Beta Was this translation helpful? Give feedback.
All reactions