fix: fix PWA for mobile

This commit is contained in:
2026-04-21 08:49:36 +02:00
parent b2a7c1a2e3
commit b7269601eb
3 changed files with 25 additions and 3 deletions

View File

@ -16,9 +16,10 @@ export default defineConfig({
theme_color: '#0f172a',
background_color: '#0f172a',
display: 'standalone',
start_url: '/',
icons: [
{ src: '/icons/icon-192.png', sizes: '192x192', type: 'image/png' },
{ src: '/icons/icon-512.png', sizes: '512x512', type: 'image/png' },
{ src: '/icons/icon-192.png', sizes: '192x192', type: 'image/png', purpose: 'any' },
{ src: '/icons/icon-512.png', sizes: '512x512', type: 'image/png', purpose: 'any maskable' },
],
},
workbox: {