kiliman / remix-flat-routes

Remix package to define routes using the flat-routes convention
MIT License
640 stars 22 forks source link

nested flat-routes not entirely BC behavior or documentation unclear? #125

Closed akomm closed 1 month ago

akomm commented 1 month ago

I had:

Changing to

The route foo.bar/route.tsx was previously considered layout, now becomes separate route. The nested folder flat-route looked to me like something that does not force me to make to many nested levels, because as per logic documented the first and the second should be equivalent.

akomm commented 1 month ago

I could solve the issue, it was some confusion regarding the semantics in the documentation.