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
To install all dependencies for your local development environment, run
npm install
Run the development server using:
npm run dev
Run the build command:
npm run build
Run the production build command:
npm run preview