diff --git a/frontend/vue.config.js b/frontend/vue.config.js index 147db28..b31de94 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -7,12 +7,17 @@ module.exports = { appleMobileWebAppCache: "yes", manifestOptions: { display: 'standalone', + }, + workboxPluginMode: 'InjectManifest', + workboxOptions: { + swSrc: 'src/registerServiceWorker.js' } }, configureWebpack: { plugins: [new GenerateSW({ clientsClaim: true, skipWaiting: true, + cleanupOutdatedCaches: true, navigateFallback: 'index.html', })], output: {