{{-- Stable XAMPP-safe assets (hashed Vite files copied by npm run build) --}} @php $cssPath = public_path('css/app.css'); $jsPath = public_path('js/app.js'); $cssVer = is_file($cssPath) ? filemtime($cssPath) : time(); $jsVer = is_file($jsPath) ? filemtime($jsPath) : time(); @endphp @if (file_exists(public_path('hot'))) @vite(['resources/css/app.css', 'resources/js/app.js']) @else @endif