mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-24 01:12:54 -04:00
undo disable sw
This commit is contained in:
parent
f2c8e6af26
commit
a7beb683ad
@ -8,7 +8,7 @@ import { globals } from "@/utils/globals";
|
||||
import i18n from "./i18n";
|
||||
import "@mdi/font/css/materialdesignicons.css";
|
||||
import "typeface-roboto/index.css";
|
||||
// import "./registerServiceWorker";
|
||||
import "./registerServiceWorker";
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
Vue.use(VueRouter);
|
||||
|
@ -1,5 +1,5 @@
|
||||
const path = require("path");
|
||||
// const manifestJSON = require("./public/manifest.json");
|
||||
const manifestJSON = require("./public/manifest.json");
|
||||
module.exports = {
|
||||
transpileDependencies: ["vuetify"],
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
||||
@ -27,18 +27,18 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
// pwa: {
|
||||
// name: manifestJSON.short_name,
|
||||
// themeColor: manifestJSON.theme_color,
|
||||
// msTileColor: manifestJSON.background_color,
|
||||
// appleMobileWebAppCapable: "yes",
|
||||
// appleMobileWebAppStatusBarStyle: "black",
|
||||
// manifestCrossorigin: "use-credentials",
|
||||
pwa: {
|
||||
name: manifestJSON.short_name,
|
||||
themeColor: manifestJSON.theme_color,
|
||||
msTileColor: manifestJSON.background_color,
|
||||
appleMobileWebAppCapable: "yes",
|
||||
appleMobileWebAppStatusBarStyle: "black",
|
||||
manifestCrossorigin: "use-credentials",
|
||||
|
||||
// workboxPluginMode: "InjectManifest",
|
||||
// workboxOptions: {
|
||||
// swSrc: "./src/sw.js",
|
||||
// swDest: "service-worker.js",
|
||||
// },
|
||||
// },
|
||||
workboxPluginMode: "InjectManifest",
|
||||
workboxOptions: {
|
||||
swSrc: "./src/sw.js",
|
||||
swDest: "service-worker.js",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user