Update PWA settings

This commit is contained in:
root
2021-11-06 01:23:10 +05:30
parent 671f8c2b4c
commit 84cabbdfed
+13
View File
@@ -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
}