From bac03f0be9067514dd805d9812431c9f3d47d938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ku=C4=87mierz?= Date: Tue, 15 Nov 2022 11:55:05 +0100 Subject: [PATCH] enable pwa manifest on dev --- vite.config.js | 5 +++++ 1 file changed, 5 insertions(+) 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}']