Skip to content

Vite Setup

Frontend-Projekt mit Vite + React aufsetzen.

  • cd frontend
  • npm create vite@latest frontend -- --template react-ts
  • npm run dev -> Starten und Prüfen
  • → App sollte unter http://localhost:5173 erreichbar sein
  • npm install react-router-dom @types/react-router-dom
  • in main.tsx BrowserRouter miteinbinden

Akzeptanzkriterien:

  • Frontend-Ordner /frontend existiert und enthält Vite + React TS Projekt
  • npm install läuft ohne Fehler
  • npm run dev startet den Entwicklungsserver erfolgreich
  • App ist im Browser unter http://localhost:5173 sichtbar
Edited by lahe8230