Skip to content

Commit 8c086fd

Browse files
committed
update docs
1 parent 94c2e2c commit 8c086fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/10-getting-started/30-project-structure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The `src` directory contains the meat of your project.
4242
- `routes` contains the [routes](/docs/routing) of your application
4343
- `app.html` is your page template — an HTML document containing the following placeholders:
4444
- `%sveltekit.head%``<link>` and `<script>` elements needed by the app, plus any `<svelte:head>` content
45-
- `%sveltekit.body%` — the markup for a rendered page. Typically this lives inside a `<div>` or other element, rather than directly inside `<body>`, to prevent bugs caused by browser extensions injecting elements that are then destroyed by the hydration process
45+
- `%sveltekit.body%` — the markup for a rendered page. This should live inside a `<div>` or other element, rather than directly inside `<body>`, to prevent bugs caused by browser extensions injecting elements that are then destroyed by the hydration process. SvelteKit will warn you in development if this is not the case
4646
- `%sveltekit.assets%` — either [`paths.assets`](/docs/configuration#paths), if specified, or a relative path to [`paths.base`](/docs/configuration#paths)
4747
- `%sveltekit.nonce%` — a [CSP](/docs/configuration#csp) nonce for manually included links and scripts, if used
4848
- `error.html` (optional) is the page that is rendered when everything else fails. It can contain the following placeholders:

0 commit comments

Comments
 (0)