summaryrefslogtreecommitdiff
path: root/examples/framework-preact/README.md
blob: d5396fcddafa695bdd1d5eb178a505eca8c6c873 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# 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/withastro/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.