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
-
Do not forget
npx tailwindcss -i ./src/index.css -o ./src/output.css --watch
and
vite build
Here's a guide on how to deploy a subfolder to GitHub Pages. Thank you.