Piped/vue.config.js
2021-04-22 19:41:46 +05:30

20 lines
543 B
JavaScript

module.exports = {
pwa: {
name: 'Piped',
themeColor: '#fa4b4b',
msTileColor: '#000000',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
workboxPluginMode: 'GenerateSW',
workboxOptions: {
navigateFallback: 'index.html',
skipWaiting: true,
importWorkboxFrom: 'local',
runtimeCaching: [{
urlPattern: /\.(?:png|svg|ico)$/,
handler: 'CacheFirst',
}],
}
}
}