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 ?




6 Replies
rival-black•4mo ago
please share a complete minimal example, ideally by forking an existing router example on stackblitz
correct-apricotOP•4mo 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?

rival-black•4mo ago
rival-black•4mo ago
then click fork

rival-black•4mo ago
apply your changes
save
then paste the new URL here
correct-apricotOP•4mo 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