mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 15:19:41 +02:00
parent
8e7a17b1bb
commit
39baca4462
26 changed files with 1034 additions and 45 deletions
|
@ -1,4 +1,5 @@
|
|||
const path = require("path");
|
||||
const manifestJSON = require("./public/manifest.json");
|
||||
module.exports = {
|
||||
transpileDependencies: ["vuetify"],
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
||||
|
@ -26,4 +27,17 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
},
|
||||
pwa: {
|
||||
name: manifestJSON.short_name,
|
||||
themeColor: manifestJSON.theme_color,
|
||||
msTileColor: manifestJSON.background_color,
|
||||
appleMobileWebAppCapable: "yes",
|
||||
appleMobileWebAppStatusBarStyle: "black",
|
||||
|
||||
workboxPluginMode: "InjectManifest",
|
||||
workboxOptions: {
|
||||
swSrc: "./src/sw.js",
|
||||
swDest: "service-worker.js",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue