This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.
- run a server in the dist folder
cd dist python3 -m http.server - open the browser and navigate to
localhost:8000
- go to the root folder of this repo
- install the packages :
npm install- run the development server :
npm run dev