]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Pull all values from manifest 127/head
authorTiger Oakes <contact@tigeroakes.com>
Fri, 23 Oct 2020 20:59:55 +0000 (13:59 -0700)
committerTiger Oakes <contact@tigeroakes.com>
Fri, 23 Oct 2020 20:59:55 +0000 (13:59 -0700)
vue.config.js

index 5a9d05f6fd6030b69fa45ae1b91d1eaeea28b6f9..8e84dfe4bf2a72724d55466e4dce2f4959082806 100644 (file)
@@ -1,3 +1,5 @@
+const manifestOptions = require("./public/assets/manifest.json");
+
 module.exports = {
   chainWebpack: (config) => {
     config.module
@@ -12,9 +14,9 @@ module.exports = {
     manifestPath: "assets/manifest.json",
     appleMobileWebAppStatusBarStyle: "black",
     appleMobileWebAppCapable: "yes",
-    name: "Homer Dashboard",
-    themeColor: "#3367D6",
-    manifestOptions: require('./public/assets/manifest.json'),
+    name: manifestOptions.name,
+    themeColor: manifestOptions.theme_color,
+    manifestOptions,
     iconPaths: {
       favicon32: "assets/icons/favicon-32x32.png",
       favicon16: "assets/icons/favicon-16x16.png",