Skip to content

Commit c97fc30

Browse files
committed
get docs building
1 parent f43e076 commit c97fc30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sites/svelte-5-preview/src/routes/docs/content/01-api/05-functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ This is handy when you want to pass some state to an external library or API tha
4949
Instantiates a component and mounts it to the given target:
5050

5151
```js
52+
// @errors: 2724
5253
import { mount } from 'svelte';
5354
import App from './App.svelte';
5455

@@ -63,6 +64,7 @@ const app = mount(App, {
6364
Like `mount`, but will pick up any HTML rendered by Svelte's SSR output (from the `render` function) inside the target and makes it interactive:
6465

6566
```js
67+
// @errors: 2724
6668
import { hydrate } from 'svelte';
6769
import App from './App.svelte';
6870

@@ -77,6 +79,7 @@ const app = hydrate(App, {
7779
Only available on the server and when compiling with the `server` option. Takes a component and returns an object with `html` and `head` properties on it, which you can use to populate the HTML when server-rendering your app:
7880

7981
```js
82+
// @errors: 2724
8083
import { render } from 'svelte/server';
8184
import App from './App.svelte';
8285

0 commit comments

Comments
 (0)