bilhej/frontend/src/components
Joakim Mörling 1b87e15a21 feat: replace fake vehicle data with real API lookup on homepage
- Add typed API module api/vehicles.ts with lookupVehicle(plate) function
- Replace FAKE_VEHICLES record with async API call in HomePage.vue
- Remove setTimeout-based fake lookup, use lookupVehicle() instead
- Handle errors: show not-found for unknown plates, catch network failures
- Add fuel field to VehicleInfo interface and display (e.g. 'Gul, Bensin')
- VehicleInfo now shows make, model, year, color, and fuel from API
2026-05-19 15:16:23 +02:00
..
AppFooter.vue refactor: add design system with CSS tokens, utilities, and app shell 2026-05-16 16:09:35 +02:00
AppHeader.vue refactor: add design system with CSS tokens, utilities, and app shell 2026-05-16 16:09:35 +02:00
PlateInput.vue refactor: redesign all pages and components with new design system 2026-05-16 16:11:01 +02:00
TemplatePicker.vue refactor: redesign all pages and components with new design system 2026-05-16 16:11:01 +02:00
VehicleInfo.vue feat: replace fake vehicle data with real API lookup on homepage 2026-05-19 15:16:23 +02:00