enable pwa manifest on dev
This commit is contained in:
@@ -10,6 +10,11 @@ export default defineConfig({
|
|||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
|
devOptions: {
|
||||||
|
enabled: true
|
||||||
|
/* other options */
|
||||||
|
},
|
||||||
|
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
|
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
|
||||||
|
|||||||
Reference in New Issue
Block a user