mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
13 lines
761 B
Markdown
13 lines
761 B
Markdown
# Astro + React Example
|
|
|
|
```
|
|
npm create astro@latest -- --template framework-react
|
|
```
|
|
|
|
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-react)
|
|
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/framework-react)
|
|
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/framework-react/devcontainer.json)
|
|
|
|
This example showcases Astro working with [React](https://reactjs.org/).
|
|
|
|
Write your React components as `.jsx` or `.tsx` files in your project.
|