Replies: 4 comments 6 replies
-
I think I see how to implement this. The easiest approach, though, would be to modify the |
Beta Was this translation helpful? Give feedback.
-
Since
|
Beta Was this translation helpful? Give feedback.
-
You could potentially try doing this in "userland". I'm not sure if the v2 routing strategy is easy to import & patch though |
Beta Was this translation helpful? Give feedback.
-
Another option is to make
In export default function Component() {
return <Outlet />
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the v2 route module convention, all routes except for the root route can be folders, containing a
route.tsx
file that implements the route module API and any number of additional files for components or server-side stuff.It would be nice to have this capability for the root route too! My root route is quite complicated and imports a bunch of other files. I'd love to be able to turn it into a directory!
Beta Was this translation helpful? Give feedback.
All reactions