Create Dynamic Route
Hey team,
Any advice on how to create a dynamic route.
I'm building an application that uses a hash in the domain extension. Any files that are uploaded on that webpage, I want the route to reflect the hash.
I'm having issues, any advice on how to execute?
2 Replies
What router are u using?
U do it using ur file structure
with pages router you create eg
pages/file/[slug].tsx
with app router you create eg pages/file/[slug]/page.tsx