vite-react-ts-template

vite react ts template.

yarn

Install dependencies.

npm run dev or yarn dev

Runs the app in development mode. Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console.

npm run lint or yarn lint

Lint codes.

npm run build or yarn build

Builds the app for production to the dist folder.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed.

User Guide

React documentation: https://reactjs.org

Vite documentation: https://vitejs.dev/guide/features.html

React Query documentation: https://react-query.tanstack.com , https://zhuanlan.zhihu.com/p/261146977

Axios documentation: https://axios-http.com