TanStackT
TanStack9mo ago
6 replies
homeless-violet

Layout only files

Hey guys, here is my test of files/folders structure for my auth part.
My goal is to have:
- /login (login page)
- /active/{generate/check/post}
- /password/{generate/check/reset}
But i'm a bit annoyed because actually there is a route for /activate and /password, but both password.tsx and activate.tsx are only here to define a base layout of the related folder. I don't want to give a route to those files. How can I achieve this ?
image.png
Was this page helpful?