https://github.com/quavedev/react-vite-tailwindcss-template
https://github.com/quavedev/react-vite-tailwindcss-template
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/quavedev/react-vite-tailwindcss-template
- Owner: quavedev
- Created: 2023-04-22T03:07:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-29T18:30:16.000Z (10 months ago)
- Last Synced: 2025-04-05T18:54:03.325Z (8 months ago)
- Language: JavaScript
- Size: 172 KB
- Stars: 16
- Watchers: 0
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- fucking-awesome-vite - react-vite-tailwindcss-template - React, JavaScript, TailwindCSS, ESlint, Prettier, Pre-commit. (Get Started / Templates)
- awesome-vite - react-vite-tailwindcss-template - React, JavaScript, TailwindCSS, ESlint, Prettier, Pre-commit. (Get Started / Templates)
README
## React + Vite + TailwindCSS template
Create your own project based on this template by running:
```bash
npx degit quavedev/react-vite-tailwindcss-template your-project
```
## Install
```bash
npm install
```
> You can make sure you are running Node.js 18 with `nvm`. Run `nvm use` to set the Node.js 18 in this project.
## Develop
```bash
npm run dev
```
## Build
```bash
npm build
```
Preview:
```bash
npm run preview
```
## Deploy on zCloud
Create your account at [zcloud.ws](https://zcloud.ws).
Connect to your GitHub, create your app and done!
Push to Deploy.
Or use the preconfigured [action](./.github/workflows/deploy.yaml) to deploy your app. Uncomment all the lines and add your zCloud User Token (ZCLOUD_USER_TOKEN) to your secrets on GitHub and replace `env` placeholder value with your app env name (check it on app.zcloud.ws > Your app env > Settings).