Skip to content
Discussion options

You must be logged in to vote

The reason for this is in the docs on project structure

%sveltekit.body% — the markup for a rendered page. Typically this lives inside a <div> or other element, rather than directly inside , to prevent bugs caused by browser extensions injecting elements that are then destroyed by the hydration process

Replies: 1 comment 1 reply

Comment options

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

Answer selected by MentalGear
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