T
TanStack7mo ago
rare-sapphire

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
extended-yellow
extended-yellow7mo ago
please share a complete minimal example, ideally by forking an existing router example on stackblitz
rare-sapphire
rare-sapphireOP7mo 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
extended-yellow
extended-yellow7mo ago
then click fork
No description
extended-yellow
extended-yellow7mo ago
apply your changes save then paste the new URL here
rare-sapphire
rare-sapphireOP7mo 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?