@php($viteReady = file_exists(public_path('hot')) || file_exists(public_path('build/manifest.json'))) @if ($viteReady) @vite(['resources/css/app.css', 'resources/js/app.js']) @elseif (app()->environment('local')) @endif
@if (!$viteReady && app()->environment('local'))
Laravel couldn't find public/build/manifest.json and public/hot.
Run npm run build then refresh.