From a1035a659fa3bc2726ac5ae7b6ef90cada78ab21 Mon Sep 17 00:00:00 2001 From: Ezra Lazuardy Date: Sun, 5 May 2024 03:28:11 +0700 Subject: [PATCH] feat: update --- resources/views/layouts/app.blade.php | 2 ++ resources/views/layouts/guest.blade.php | 34 +++++++++++++++++-------- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 6acb39b..5ba8f32 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -24,6 +24,7 @@ @livewireChartsScripts + @vite('resources/css/app.css') @if (app()->environment('production')) @once @@ -33,6 +34,7 @@ @endif + diff --git a/resources/views/layouts/guest.blade.php b/resources/views/layouts/guest.blade.php index ac3ca2c..b0f5ac3 100644 --- a/resources/views/layouts/guest.blade.php +++ b/resources/views/layouts/guest.blade.php @@ -5,26 +5,40 @@ - {{ config('app.name', 'Laravel') }} - - - + + + + + + - - @vite(['resources/css/app.css', 'resources/js/app.js']) + + - + @livewireStyles + @livewireScripts + @livewireChartsScripts + + + + @vite('resources/css/app.css') + @if (app()->environment('production')) + @once + + @endonce + @endif - + +
{{ $slot }}
- - @livewireScripts