Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quavedev/react-vite-tailwindcss-template
https://github.com/quavedev/react-vite-tailwindcss-template
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/quavedev/react-vite-tailwindcss-template
- Owner: quavedev
- Created: 2023-04-22T03:07:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-15T18:16:36.000Z (8 months ago)
- Last Synced: 2024-08-01T19:35:48.874Z (3 months ago)
- Language: JavaScript
- Size: 135 KB
- Stars: 10
- Watchers: 1
- Forks: 6
- 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).