fix assets call
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
@yield('script-bottom')
|
@yield('script-bottom')
|
||||||
|
|
||||||
@if (app()->environment('production'))
|
@if (app()->environment('production'))
|
||||||
<script src="{{ asset('assets/app-DRUGm0ZO.js') }}"></script>
|
@vite(['resources/js/app.js'])
|
||||||
@else
|
@else
|
||||||
@vite('resources/js/app.js')
|
@vite('resources/js/app.js')
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<!-- Simple Session Validator -->
|
<!-- Simple Session Validator -->
|
||||||
@auth
|
@auth
|
||||||
<script src="{{ asset('js/utils/simple-session-validator.js') }}"></script>
|
@vite(['resources/js/utils/simple-session-validator.js'])
|
||||||
@endauth
|
@endauth
|
||||||
|
|
||||||
@yield('scripts')
|
@yield('scripts')
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
hmr: {
|
hmr: {
|
||||||
host: "localhost",
|
host: "sibedas.com",
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
usePolling: true,
|
usePolling: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user