mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
45cea6aec5
* Support Node v14.15+ * changeset * Update .changeset/new-hats-design.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update .changeset/new-hats-design.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update .changeset/new-hats-design.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * ES2020 * update yarn.lock Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> |
||
---|---|---|
.. | ||
CHANGELOG.md | ||
client.js | ||
index.js | ||
package.json | ||
README.md | ||
server.js | ||
static-html.js |
@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'
]
}