refactor(configuration): menghapus livewire, rappasoft dan flux dari konfigurasi manual
This commit is contained in:
parent
d9ccb7008f
commit
eadf927e57
@ -163,7 +163,6 @@ protected function pushNotification()
|
||||
'privateKey' => config('services.vapid.private_key'),
|
||||
],
|
||||
];
|
||||
|
||||
$webPush = new WebPush($auth);
|
||||
|
||||
$payload = json_encode([
|
||||
|
||||
@ -114,7 +114,7 @@
|
||||
|
|
||||
*/
|
||||
|
||||
'inject_assets' => false,
|
||||
'inject_assets' => true,
|
||||
|
||||
/*
|
||||
|---------------------------------------------------------------------------
|
||||
|
||||
@ -12,9 +12,3 @@ self.addEventListener('push', (event) => {
|
||||
})
|
||||
);
|
||||
})
|
||||
|
||||
self.addEventListener('notificationclick', (event) => {
|
||||
event.waitUntil(
|
||||
clients.openWindow(event.notification.data.url)
|
||||
);
|
||||
})
|
||||
|
||||
@ -1,12 +1 @@
|
||||
import './bootstrap';
|
||||
import '../../vendor/rappasoft/laravel-livewire-tables/resources/imports/laravel-livewire-tables-all.js';
|
||||
|
||||
import { Livewire, Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm';
|
||||
import Clipboard from '@ryangjchandler/alpine-clipboard'
|
||||
|
||||
Alpine.plugin(Clipboard)
|
||||
|
||||
Livewire.alpine = Alpine
|
||||
|
||||
Livewire.start()
|
||||
Alpine.start()
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ $title }} | {{ config('app.name') }}</title>
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
@livewireStyles
|
||||
@fluxAppearance
|
||||
<link rel="icon" type="image/png" href="{{ asset('assets/images/logo.png') }}">
|
||||
<link rel="preconnect" href="https://fonts.bunny.net">
|
||||
@ -20,8 +19,6 @@
|
||||
|
||||
{{ $slot }}
|
||||
@fluxScripts
|
||||
|
||||
@livewireScriptConfig
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ $title }} | {{ config('app.name') }}</title>
|
||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||
@livewireStyles
|
||||
@fluxAppearance
|
||||
<link rel="icon" type="image/png" href="{{ asset('assets/images/logo.png') }}">
|
||||
<link rel="preconnect" href="https://fonts.bunny.net">
|
||||
@ -23,10 +22,7 @@
|
||||
|
||||
{{ $slot }}
|
||||
|
||||
@livewireScriptConfig
|
||||
@fluxScripts
|
||||
@rappasoftTableScripts
|
||||
@rappasoftTableThirdPartyScripts
|
||||
<script>
|
||||
document.addEventListener('livewire:navigated', () => {
|
||||
Notification.requestPermission().then((permission) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user