Piped/vue.config.js
2021-10-31 22:35:07 +00:00

28 lines
735 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",
},
],
},
},
pluginOptions: {
i18n: {
locale: "en",
localeDir: "locales",
fullInstall: true,
},
},
};