Skip to content

A project template use React + React Router + Vite + Axios + SWR + Zustand + ESLint + Tailwindcss + Prettier

License

Notifications You must be signed in to change notification settings

wyx2333333/react-awesome-template

Repository files navigation

React Awesome Template

Technology Stack

Download

npm i react-awesome-cli -g

rac
# or
react-awesome-cli

2. Use git

git clone https://github.com/wyx2333333/react-awesome-template.git
cd react-awesome-template

Development

Install dependencies

npm i
# or
yarn
# or
pnpm i

Start local server

npm dev/prod
# or
yarn dev/prod
# or
pnpm dev/prod

And then open http://localhost:3000 to view it in the browser.

Scripts

Script Description
npm run dev Runs the app in the development mode. ( use .env.development )
npm run prod Runs the app in the production mode. ( use .env.production )
npm run build:dev Builds the app for development to the dist folder.
npm run build:prod Builds the app for production to the dist folder.
npm run format Prettier format.

License

This project is licensed under the terms of the MIT license.

About

A project template use React + React Router + Vite + Axios + SWR + Zustand + ESLint + Tailwindcss + Prettier

Topics

Resources

License

Stars

Watchers

Forks