Skip to content
Discussion options

You must be logged in to vote

Hi tryggs,

You will have to create a "reset" layout and append the name of that layout to your route. For example:

//__layout-reset.svelte

<slot />

Then, modify your route name to [slug]@reset.svelte to apply the "reset" layout to it.
This should prevent it from inheriting from __layout.svelte.

Documentation for layout inheritance

Hope that helps :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tryggs
Comment options

Answer selected by tryggs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants