0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/framework-react
Erika c9b679e56e
Move types to a .d.ts file inside examples projects (#4171)
* Move types to a .d.ts file to avoid making types explicit

* Rename to proper types

* Move to proper place

* Add noEmit to tsconfig.json

* Add back removed code by accident
2022-08-05 17:46:52 -04:00
..
.vscode Audit examples templates (#3940) 2022-08-04 14:16:51 -04:00
public make example favicons prefer non-dark mode 2021-08-17 22:33:42 -07:00
src Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00
.gitignore refactor(vercel): Build Output API v3 (#3216) 2022-05-11 15:10:38 -06:00
.npmrc Move from yarn to pnpm (#2455) 2022-03-08 15:46:11 -06:00
.stackblitzrc update examples for stackblitz (#1379) 2021-09-16 08:06:22 -07:00
astro.config.mjs Astro Integration System (#2820) 2022-03-18 15:35:45 -07:00
package.json [ci] release (#4152) 2022-08-04 12:21:38 -04:00
README.md update repo URL (#1994) 2021-11-23 14:47:05 -08:00
sandbox.config.json Adding CodeSandbox config file to all the "next" examples (#1744) 2021-11-05 10:41:37 -05:00
tsconfig.json Move types to a .d.ts file inside examples projects (#4171) 2022-08-05 17:46:52 -04:00

Astro + React Example

npm init astro -- --template framework-react

Open in StackBlitz

This example showcases Astro working with React.

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