Added native os notifications
This commit is contained in:
+9
-5
@@ -21,9 +21,17 @@ export default defineConfig({
|
||||
}),
|
||||
vuetify({ autoImport: true }),
|
||||
VitePWA({
|
||||
base: '/',
|
||||
registerType: 'autoUpdate',
|
||||
strategies: 'injectManifest',
|
||||
srcDir: 'resources/js',
|
||||
filename: 'sw.js',
|
||||
injectManifest: {
|
||||
globPatterns: [],
|
||||
},
|
||||
devOptions: {
|
||||
enabled: true,
|
||||
type: 'module',
|
||||
},
|
||||
includeAssets: ['favicon.ico', 'apple-touch-icon-180.png'],
|
||||
manifest: {
|
||||
@@ -31,6 +39,7 @@ export default defineConfig({
|
||||
short_name: 'FlightsGoneBy',
|
||||
description: 'Track and log your flight history',
|
||||
start_url: '/',
|
||||
scope: '/',
|
||||
display: 'standalone',
|
||||
background_color: '#020d29',
|
||||
theme_color: '#020d29',
|
||||
@@ -41,11 +50,6 @@ export default defineConfig({
|
||||
{ src: '/img/app_icons/icon-512-maskable.png', sizes: '512x512', type: 'image/png', purpose: 'maskable' },
|
||||
],
|
||||
},
|
||||
workbox: {
|
||||
// Avoid caching Inertia/API responses by default — just static assets
|
||||
globPatterns: ['**/*.{js,css,html,svg,png,ico}'],
|
||||
navigateFallbackDenylist: [/^\/api/, /^\/admin/],
|
||||
},
|
||||
}),
|
||||
],
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user