@stack('head') @php $viteHot = file_exists(public_path('hot')); $viteManifest = file_exists(public_path('build/manifest.json')); @endphp @if($viteHot || $viteManifest) @vite(['resources/css/app.css', 'resources/js/admin.js']) @else @endif
@if(isset($header) || $__env->hasSection('header'))
@hasSection('header') @yield('header') @elseif(isset($header)) {{ $header }} @endif @if(session('status')) @endif @if(isset($errors) && $errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif
@endif
@hasSection('content') @yield('content') @else {{ $slot ?? '' }} @endif
@stack('scripts')