diff --git a/vue.config.js b/vue.config.js index 83db769a..68a6dee3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -9,7 +9,11 @@ module.exports = { workboxOptions: { navigateFallback: 'index.html', skipWaiting: true, - importWorkboxFrom: 'local' + importWorkboxFrom: 'local', + runtimeCaching: [{ + urlPattern: /\.(?:png|svg|ico)$/, + handler: 'CacheFirst', + }], } } }