From 40d3e8de766c8c78bec73c38852fc8da24aa55b4 Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Fri, 23 Oct 2020 13:59:55 -0700 Subject: Pull all values from manifest --- vue.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index 5a9d05f..8e84dfe 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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", -- cgit v1.2.3