mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
97d37f8f49
* Add README stub for renderers * Add renderer READMEs
581 B
581 B
@astrojs/renderer-react
This is a plugin for Astro apps that enables server-side rendering of React components.
Installation
Install @astrojs/renderer-react
and then add it to your astro.config.mjs
in the renderers
property:
npm install @astrojs/renderer-react
astro.config.mjs
export default {
// ...
renderers: [
// ...
'@astrojs/renderer-react'
]
}