Merge pull request #9147 from turbo124/v5-develop

Livewire bundling
This commit is contained in:
David Bomba 2024-01-13 09:49:34 +11:00 committed by GitHub
commit 62fa0e577f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 117 additions and 16 deletions

View File

@ -56,6 +56,7 @@ class Locale
'bg',
'he',
'km_KH',
'lo_LA',
'hu',
'fr_CH',
];

View File

@ -58,6 +58,7 @@ class VendorLocale
'km_KH',
'hu',
'fr_CH',
'lo_LA',
];
/**
* Handle an incoming request.

109
public/build/assets/app-01291e40.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
]
},
"resources/js/app.js": {
"file": "assets/app-253efa47.js",
"file": "assets/app-01291e40.js",
"imports": [
"_index-08e160a7.js",
"__commonjsHelpers-725317a4.js"

3
resources/js/app.js vendored
View File

@ -10,6 +10,9 @@
import axios from 'axios';
import cardValidator from 'card-validator';
import { Livewire } from '../../vendor/livewire/livewire/dist/livewire.esm'
Livewire.start()
window.axios = axios;
window.valid = cardValidator;

View File

@ -67,8 +67,6 @@
<link rel="canonical" href="{{ config('ninja.site_url') }}/{{ request()->path() }}"/>
@livewireStyles
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')

View File

@ -90,7 +90,6 @@
</style>
@endif
@livewireStyles
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')

View File

@ -96,7 +96,6 @@
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')
@livewireStyles
<link rel="stylesheet" type="text/css" href="{{ asset('vendor/cookieconsent@3/cookieconsent.min.css') }}" defer>
</head>

View File

@ -93,7 +93,7 @@
</style>
@endif
@livewireStyles
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')

View File

@ -83,7 +83,7 @@
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')
@livewireStyles
<link rel="stylesheet" type="text/css" href="{{ asset('vendor/cookieconsent@3/cookieconsent.min.css') }}" />
</head>