summaryrefslogtreecommitdiff
path: root/packages/renderers/renderer-svelte/README.md
blob: 43337806792a7c0308a2e0f00a23f929c6e313a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# @astrojs/renderer-svelte

This is a plugin for [Astro][astro] apps that enables server-side rendering of Svelte components.

## Installation

Install `@astrojs/renderer-svelte` and then add it to your `astro.config.mjs` in the `renderers` property:

```
npm install @astrojs/renderer-svelte
```

__astro.config.mjs__

```js
export default {
  // ...

  renderers: [
    // ...
    '@astrojs/renderer-svelte'
  ]
}
```

## Documentation

[Astro Renderer Documentation][renderer-docs]

[astro]: https://astro.build
[renderer-docs]: https://docs.astro.build/reference/renderer-reference