Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zadzbw/vite-react-template
vite template for creating a React App
https://github.com/zadzbw/vite-react-template
vite vite-starter vite-template vite-template-react
Last synced: 8 days ago
JSON representation
vite template for creating a React App
- Host: GitHub
- URL: https://github.com/zadzbw/vite-react-template
- Owner: zadzbw
- License: mit
- Created: 2023-04-26T11:06:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-05T10:51:27.000Z (14 days ago)
- Last Synced: 2024-11-05T11:46:06.533Z (14 days ago)
- Topics: vite, vite-starter, vite-template, vite-template-react
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-react-template ✏️
A vite template for creating a React App with typescript, tailwindcss, scss, eslint, prettier, vitest, husky and lint-staged.
## Features 🎸
- [x] React.js as basic framework
- [x] tailwindcss + scss for style
- [x] prettier + eslint for code style
- [x] vitest for unit test and component test
- [x] husky + lint-staged for pre-commit hook## Try it now 🚀
### GitHub template
[Use this template to create a new repo](https://github.com/zadzbw/vite-react-template/generate).
### Clone to local
If you prefer to do it manually with the cleaner git history, you can do the following:
1. download the template
```bash
npx degit zadzbw/vite-react-template my-app
```2. push to your own repo
```bash
cd my-appgit init
git add .
git commit -m "commit message"
git remote add origin https://github.com/username/repositoryname.git
git push -u origin main
```3. install dependencies
```bash
npm install pnpm --global
pnpm install --frozen-lockfile
```and then you can start develop your React App.