-
Hi, using current version of Remix (v2.16.5). I want to use folder based routes described here in docs but I have problems with nested routes. As a minimal example I just created a bare app with
I can create minimal reproducible example repo if there's nothing obviously wrong in my approach but I hope there is. :-) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, for posterity. Seems like I missed the layout nesting thing, ie. when you create nested URL, pages want to nest by default so |
Beta Was this translation helpful? Give feedback.
Ok, for posterity. Seems like I missed the layout nesting thing, ie. when you create nested URL, pages want to nest by default so
aaa
needs where it can renderaaa/aa
. Not really sure why it's default behaviour, but you can opt out from that by putting underscore at the end of segment, eg.aaa_.aa/route.tsx
will render the route ignoringaaa.route.tsx
.