Hi! I’m using Router and so far it's been great, easy to understand and all that.
I’m trying to set up something more complicated (for me) though and I am not sure I understand how I should go about it with Tanstack Router.
So the relevant structure is like this:
/routes
-> tasks.$taskId.tsx
-> tasks.completed.tsx
-> tasks.tsx
-> tasks.view.component.tsx
I am kind of wanting tasks.tsx to be the “layout” of my task stuff. And show like a default view (tasks.view.component) when they are at url.com/tasks .
But if they’re at another path (url.com/tasks/completed) I want it to use the Outlet (in tasks.tsx) to show the content at tasks.completed.tsx. Or if they’re at url.com/tasks/2 to show the content at tasks.$taskId.tsx.
A pointer to what I'm needing in the docs would be great, or if I'm thinking about the wrong way then let me know!