diff --git a/vue.config.js b/vue.config.js index 55510d0..455f1cf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,6 +2,19 @@ module.exports = { transpileDependencies: [ 'vuetify' ], + pwa: { + workboxOptions: { + navigateFallback: 'index.html', + skipWaiting: true, + importWorkboxFrom: 'local', + runtimeCaching: [ + { + urlPattern: /\.(?:png|svg|ico)$/, + handler: 'CacheFirst' + } + ] + } + }, lintOnSave: false }