Skip to content

Commit d0ab6b9

Browse files
committed
missed a spot
1 parent 3920671 commit d0ab6b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: documentation/docs/10-getting-started/10-introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ title: Introduction
1212

1313
SvelteKit is a framework for building extremely high-performance web apps.
1414

15-
Building an app with all the modern best practices is fiendishly complicated. Those practices include [build optimizations](https://vitejs.dev/guide/features.html#build-optimizations), so that you load only the minimal required code; [offline support](/docs/service-workers); [preloading](/docs/link-options#data-sveltekit-preload) pages before the user initiates navigation; and [configurable rendering](/docs/page-options) that allows you to render your app [on the server](/docs/glossary#ssr) or [in the browser](/docs/glossary#csr-and-spa) at runtime or [at build-time](/docs/glossary#prerendering). SvelteKit does all the boring stuff for you so that you can get on with the creative part.
15+
Building an app with all the modern best practices is fiendishly complicated. Those practices include [build optimizations](https://vitejs.dev/guide/features.html#build-optimizations), so that you load only the minimal required code; [offline support](/docs/service-workers); [preloading](/docs/link-options#data-sveltekit-preload-data) pages before the user initiates navigation; and [configurable rendering](/docs/page-options) that allows you to render your app [on the server](/docs/glossary#ssr) or [in the browser](/docs/glossary#csr-and-spa) at runtime or [at build-time](/docs/glossary#prerendering). SvelteKit does all the boring stuff for you so that you can get on with the creative part.
1616

1717
It uses [Vite](https://vitejs.dev/) with a [Svelte plugin](https://github.com/sveltejs/vite-plugin-svelte) to provide a lightning-fast and feature-rich development experience with [Hot Module Replacement (HMR)](https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md#hot), where changes to your code are reflected in the browser instantly.
1818

Diff for: documentation/docs/30-advanced/30-link-options.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ In certain cases, you may wish to disable this behaviour. Adding a `data-sveltek
8383
To disable any of these options inside an element where they have been enabled, use the `"off"` value:
8484

8585
```html
86-
<div data-sveltekit-preload>
86+
<div data-sveltekit-preload-data>
8787
<!-- these links will be preloaded -->
8888
<a href="/a">a</a>
8989
<a href="/b">b</a>
9090
<a href="/c">c</a>
9191

92-
<div data-sveltekit-preload="off">
92+
<div data-sveltekit-preload-data="off">
9393
<!-- these links will NOT be preloaded -->
9494
<a href="/d">d</a>
9595
<a href="/e">e</a>

Diff for: documentation/docs/60-appendix/10-migrating.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ This caused problems and is no longer the case in SvelteKit. Instead, relative U
133133

134134
#### &lt;a&gt; attributes
135135

136-
- `sapper:prefetch` is now `data-sveltekit-preload`
136+
- `sapper:prefetch` is now `data-sveltekit-preload-data`
137137
- `sapper:noscroll` is now `data-sveltekit-noscroll`
138138

139139
### Endpoints

0 commit comments

Comments
 (0)