diff --git a/vite.config.js b/vite.config.js index f43f2e2..b43dadb 100644 --- a/vite.config.js +++ b/vite.config.js @@ -10,6 +10,11 @@ export default defineConfig({ plugins: [ vue(), VitePWA({ + devOptions: { + enabled: true + /* other options */ + }, + registerType: 'autoUpdate', workbox: { globPatterns: ['**/*.{js,css,html,ico,png,svg}']