mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
11 lines
399 B
Markdown
11 lines
399 B
Markdown
# Astro + Preact Example
|
|
|
|
```
|
|
npm init astro -- --template framework-preact
|
|
```
|
|
|
|
[](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.
|