0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/framework-preact/README.md
2021-09-16 08:06:22 -07:00

11 lines
400 B
Markdown

# Astro + Preact Example
```
npm init astro -- --template framework-preact
```
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/snowpackjs/astro/tree/latest/examples/framework-preact)
This example showcases Astro working with [Preact](https://preactjs.com).
Write your Preact components as `.jsx` or `.tsx` files in your project.