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
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we 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.
Project draaien op eigen machine:
npm install- installeert de dependenciesnpm run dev- start de Vite dev-server op http://localhost:5173
- Node.js, Git, VS Code en Claude Code geïnstalleerd op iMac
- SSH-koppeling gemaakt met GitHub
- CausalNet gecloned vanuit GitHub naar lokale machine
- Eerste keer Vite dev-server lokaal gedraaid op localhost:5173
- Kennisgemaakt met git status, git diff en branches
- Branch aanmaken met git checkout -b
- Bestand aanpassen en opslaan in VS Code (Cmd+S)
- Staging area begrijpen: git add
- Committen met een beschrijvende message
- Pushen naar GitHub met git push -u origin
- Pull Request maken en mergen op GitHub
- Lokaal opruimen: git checkout main, git pull, git branch -d