This template provides a minimal setup to get React working in Vite with HMR, PWA and some ESLint rules.
npm install
npm run dev
Currently, using below packages:
-
@vitejs/plugin-react uses Babel for Fast Refresh
-
@vitejs/plugin-react-swc uses SWC for Fast Refresh
-
vite-plugin-pwa for PWA support
-
@vite-pwa/assets-generator for generating pwa assets