astro/examples/framework-preact/README.md
Obinna Ekwuno 8cdd5aabdb
Add “Open with CodeSandbox” buttons to example project READMEs (#5322)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-11-10 11:32:13 +01:00

12 lines
581 B
Markdown

# Astro + Preact Example
```
npm create astro@latest -- --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)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/s/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.