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 Oxc
- @vitejs/plugin-react-swc uses SWC
Use npm run dev to start the development server.
Use npm run build to generate a production build in the dist folder.
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.