Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohamedsamara/astro-react
Astro and React
https://github.com/mohamedsamara/astro-react
astro react tailwindcss
Last synced: about 1 month ago
JSON representation
Astro and React
- Host: GitHub
- URL: https://github.com/mohamedsamara/astro-react
- Owner: mohamedsamara
- License: mit
- Created: 2022-06-21T04:51:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-20T05:40:50.000Z (over 1 year ago)
- Last Synced: 2024-11-09T05:42:45.312Z (3 months ago)
- Topics: astro, react, tailwindcss
- Language: Astro
- Homepage: astro-react.vercel.app
- Size: 85 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astro + React Example
This project is an example of using astro to build static products pages ahead of time. See dist (build) directory after runnning `yarn build`. The build will contain each product html page.
## Quick start
1. Clone this repo using `git clone https://github.com/mohamedsamara/astro-react.git`
2. Move to the directory: `cd `.
3. Run `yarn install` in order to install dependencies.## Start development
```
yarn dev
```## Simple build for production
```
yarn build
```## Preview production build
```
yarn preview
```