Skip to content

Dynamic routes at the folder level #922

Closed Answered by priyanshuone6
priyanshuone6 asked this question in Q&A
Discussion options

You must be logged in to vote

Closing this since I found the solution. Funny enough, the image I uploaded itself solves the dynamic routes at the folder level. The '[username]' folder syntax catches parameters in the URL, and index.tsx shows that by using search parameters. Even though dynamic routes at the folder level are not mentioned in the docs, they still work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by priyanshuone6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant