@if (file_exists(public_path('build/manifest.json'))) @vite(['resources/css/app.css', 'resources/js/app.js']) @else {{-- Vite manifest not found (dev assets not built). Fallback to public assets if present. --}} @if (file_exists(public_path('css/app.css'))) @endif @if (file_exists(public_path('js/app.js'))) @endif @endif