@astrojs/renderer-preact

0.5.0 • Public • Published

@astrojs/renderer-preact

This is a plugin for Astro apps that enables server-side rendering of Preact components.

Installation

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

npm install @astrojs/renderer-preact

astro.config.mjs

export default {
  // ...

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

Documentation

Astro Renderer Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @astrojs/renderer-preact

Homepage

astro.build

Weekly Downloads

427

Version

0.5.0

License

MIT

Unpacked Size

8.98 kB

Total Files

8

Last publish

Collaborators

  • natemoo-re
  • fredkschott
  • matthewp