@if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot'))) @vite(['resources/css/app.css', 'resources/js/admin.js']) @endif @php $channels = \App\Models\Channel::orderBy('name')->get(); $activeChannel = \App\Models\Channel::find(session('admin.active_channel_id')) ?? $channels->first(); @endphp
@include('admin::components.flash') @yield('content')