-
|
Hello, I am using layout in sveltekit but i do not want to use it for one route. and I have a route called thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
teemingc
Aug 2, 2022
Replies: 1 comment 1 reply
-
|
Hi tryggs, You will have to create a "reset" layout and append the name of that layout to your route. For example: Then, modify your route name to Documentation for layout inheritance Hope that helps :) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tryggs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi tryggs,
You will have to create a "reset" layout and append the name of that layout to your route. For example:
Then, modify your route name to
[slug]@reset.svelteto apply the "reset" layout to it.This should prevent it from inheriting from
__layout.svelte.Documentation for layout inheritance
Hope that helps :)