0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00
astro/packages/renderers/renderer-svelte
..
CHANGELOG.md
client.js
index.js
package.json
README.md
server.js
Wrapper.svelte
Wrapper.svelte.ssr.js

@astrojs/renderer-svelte

This is a plugin for 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

export default {
  // ...

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

Documentation

Astro Renderer Documentation