Problem: Vite 7 serviert CSS-Entry-Points als JavaScript-Module (Content-Type: text/javascript). Browser ignoriert JS-Response bei <link rel="stylesheet"> — CSS wurde nie angewandt. Lösung: - CSS aus @vite()-Aufrufen entfernt (kein <link>-Tag mehr) - CSS aus vite.config.js input entfernt - import '../css/app.css' zu resources/js/app.js hinzugefügt - Vite injiziert CSS via JS-Modul → <style>-Tags im Browser In Prod: CSS wird aus JS-Import extrahiert, Manifest linkt sie korrekt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bio | ||
| components | ||
| layouts | ||
| livewire | ||
| vendor/media-library | ||
| dashboard.blade.php | ||
| profile.blade.php | ||
| welcome.blade.php | ||