0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/framework-preact
Nate Moore 8cfb3fb535
Migrate examples to type: module (#4662)
* chore: move examples to type module

* chore: prefer astro.config.mjs to astro.config.js

* chore: reference CJS config file

Co-authored-by: Nate Moore <nate@astro.build>
2022-09-13 14:02:57 -05:00
..
.vscode Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
public Switch examples favicon to use svg (#4331) 2022-08-17 15:19:04 -05:00
src Switch examples favicon to use svg (#4331) 2022-08-17 15:19:04 -05:00
.gitignore refactor(vercel): Build Output API v3 (#3216) 2022-05-11 15:10:38 -06:00
.npmrc
.stackblitzrc
astro.config.mjs Astro Integration System (#2820) 2022-03-18 15:35:45 -07:00
package.json Migrate examples to type: module (#4662) 2022-09-13 14:02:57 -05:00
README.md
sandbox.config.json
tsconfig.json Add template tsconfigs for users to extend from (#4439) 2022-08-25 15:15:27 -04:00

Astro + Preact Example

npm init astro -- --template framework-preact

Open in StackBlitz

This example showcases Astro working with Preact.

Write your Preact components as .jsx or .tsx files in your project.