T
TanStack4mo ago
correct-apricot

Tanstack router for protected route

Hi can someone help me quickly on this problem. I'm trying to implement protected route but I can't do the structure like the image. Do i have to use flat file routing ?
No description
No description
No description
No description
6 Replies
rival-black
rival-black4mo ago
please share a complete minimal example, ideally by forking an existing router example on stackblitz
correct-apricot
correct-apricotOP4mo ago
sorry I don't have experience with stackblitz. but if I doing like the image it will work. Can you explain it to me please?
No description
rival-black
rival-black4mo ago
then click fork
No description
rival-black
rival-black4mo ago
apply your changes save then paste the new URL here
correct-apricot
correct-apricotOP4mo ago
thank you for help but currently I'm kinda hurry so I can't provide a minimal example. Maybe I will ask later. Thank you once again

Did you find this page helpful?