-
Just noticed you released hybrid routes but was wondering if its possible to do something like this: I have 2 main groups of routes, _app and _admin (there's some other ones too). I really like flat routes but having to have all _app files next to all _admin files is actually quite annoying and verbose, I kind of want to have a folder for _app and a folder for _admin, and just close the admin folder when im not working on it. Ideal structure as:
Maybe this would be possible with a static hard coded config setup? Bonus: Would be nice to be able to arbitrarily jump into a folder if a specific subset of routes contains a lot of child routes. Thoughts? :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Someone asked about this very scenario on Discord. I posted on the flat routes RFC a potential solution. remix-run/remix#4482 (comment) I'm going to implement it in this package and see if it ends up in core Remix. |
Beta Was this translation helpful? Give feedback.
Someone asked about this very scenario on Discord. I posted on the flat routes RFC a potential solution. remix-run/remix#4482 (comment)
I'm going to implement it in this package and see if it ends up in core Remix.