Skip to content

Commit c5bb455

Browse files
committed
chore: enable pwa dev options
1 parent b22c1f8 commit c5bb455

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/pwa-prompt/.vitepress/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default withPwa(defineConfig({
1414
head: [
1515
['meta', { name: 'theme-color', content: '#ffffff' }],
1616
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
17+
['link', { rel: 'alternate icon', href: '/favicon.ico' }],
1718
['link', { rel: 'mask-icon', href: '/favicon.svg', color: '#ffffff' }],
1819
['meta', {
1920
name: 'keywords',
@@ -62,5 +63,9 @@ export default withPwa(defineConfig({
6263
workbox: {
6364
globPatterns: ['**/*.{css,js,html,svg,png,ico,txt,woff2}'],
6465
},
66+
devOptions: {
67+
enabled: true,
68+
navigateFallback: '/',
69+
},
6570
},
6671
}))

0 commit comments

Comments
 (0)