You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the router-cli the layout lives outside of the folder it applies to. For example in the 'kitchen-sink-route-gen' example folder structure looks something like
as the application grows and more of these "feature" folders are created it would be nice to avoid jumping in the out of the folder. To me the ideal structure would look something like this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently in the router-cli the layout lives outside of the folder it applies to. For example in the 'kitchen-sink-route-gen' example folder structure looks something like
as the application grows and more of these "feature" folders are created it would be nice to avoid jumping in the out of the folder. To me the ideal structure would look something like this.
I can create a PR with this feature but wanted to open discussion around making the
__layout.tsx
file name essentially reserved.Beta Was this translation helpful? Give feedback.
All reactions