This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currentlytwo official plugins are available:
- @vite/plugin-react uses Babel for Fast Refresh
- @vite/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production applicationwe 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.