Added native os notifications

This commit is contained in:
2026-07-01 22:11:24 +10:00
parent d1b50e2f1a
commit 84379baf6a
19 changed files with 213 additions and 39 deletions
+9 -5
View File
@@ -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: {