This template offers a minimal setup for integrating React with Vite, featuring Hot Module Replacement (HMR) and essential ESLint rules. Currently, you have a choice of two official plugins:
-
@vitejs/plugin-react
Uses Babel for Fast Refresh. -
@vitejs/plugin-react-swc
Uses SWC for Fast Refresh.
This setup ensures a streamlined development environment for React projects using Vite, leveraging modern tools for efficient code editing and updates.