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
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Hi everyone, I'm currently building an app with sapper and am quite happy with it. There is one problem though.
I have a _layout.svelte file in my src/routes folder to get a consistent navigation component on all pages. All sub routes inherit that layout, which is fine in most cases. Now I want a nested routed, but it should not use any _layout.svelte that is above in the tree.
Example file structure:
src/routes
├── _error.svelte
├── _layout.svelte
├── user
│ └── [user_id]
│ ├── index.svelte
│ └── info
│ └── index.svelte /* this should not use `src/routes/_layout.svelte` */
└── index.svelte
Is there any way to reset the layout or tell a page to not inherit layouts?