blob: 04efb2d6ea98ca62a6162eae8909c8e8e0496a55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Astro + Preact Example
```sh
npm create astro@latest -- --template framework-preact
```
[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-preact)
[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-preact)
[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/framework-preact/devcontainer.json)
This example showcases Astro working with [Preact](https://preactjs.com).
Write your Preact components as `.jsx` or `.tsx` files in your project.
|