Replies: 2 comments 3 replies
-
name it |
Beta Was this translation helpful? Give feedback.
0 replies
-
@schiller-manuel - Thanks, but I guess I don't understand. I have: /route.tsx -
This renders an empty page with my layout ( is empty), and looks fine. Then I have /home.tsx:
This is not wrapped by route.txt and does not have my menus, etc... Is this what you meant? It's also not mentioned anywhere in the docs... |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to have a couple of layouts in my path that apply to that path and all children. Imagine that in the following example _layout is a "pathless" route that uses the
<some layout><Outlet/></some layout>
pattern and each _layout applies to its directory and all children.This would avoid having to use the _layout.login.tsx naming convention for all files, which I think is a little awkward.
/login/_layout.tsx
/login/login.tsx
/app_layout.tsx
/app/index.tsx
/app/alpha.tsx
/app/acme/index.tsx
/admin/_layout.tsx
/admin/index.tsx
/admin/x/whatever.tsx
/admin/y/z/a/b/c/d.tsx
Beta Was this translation helpful? Give feedback.
All reactions