If you need a clean template for development, then you can try it.
# clone the project
git clone https://github.com/985563349/react-vite-template.git
# enter the project directory
cd react-vite-template
# install dependency
pnpm install
# develop
pnpm dev
This will automatically open: http://127.0.0.1:5173
# build for production environment
pnpm build
# preview the release environment effect
pnpm preview
# code check
pnpm lint
# code auto fix
pnpm format
- React
- React Router
- TypeScript
- Axios
- MSW
- Vite
- ESLint
- Prettier
- Commitlint
Copyright (c) 2022 Jee