Nested dynamic routes? #2850
-
How would I set up file-based routing with tanstack router so that I could have these three different routes:
I've tried to accomplish the above by defining three file-based routes:
However, the $year.tsx component is picking up all routes, instead of allowing $year.$month to handle /2025/12 for example. |
Beta Was this translation helpful? Give feedback.
Answered by
SeanCassiere
Nov 26, 2024
Replies: 1 comment 1 reply
-
I think you are looking to set up the necessary
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
craigsmitham
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you are looking to set up the necessary
index
routes within the each level.