Best Practice for Directory Structure For File-based?
I'm new to using Routing libraries of any kind, and I'd like to come up with a folder structure in my project that makes the most sense.
I'm using file-based routing. My pages will have multiple components in them, of course, and I'd like to keep those components close to the actual page component I'm developing. Putting the Page component and its child components under the
I'll have a
What are most folks doing when it comes to organizing their project?
I'm using file-based routing. My pages will have multiple components in them, of course, and I'd like to keep those components close to the actual page component I'm developing. Putting the Page component and its child components under the
routes directory won't work well since Tanstack Router will create a route structure. This is what I'm working with now:I'll have a
pages directory that mirrors the routes directory. Is this overkill? Is there some better way to do this?What are most folks doing when it comes to organizing their project?