]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Update vue config
authorTiger Oakes <contact@tigeroakes.com>
Fri, 23 Oct 2020 20:56:51 +0000 (13:56 -0700)
committerTiger Oakes <contact@tigeroakes.com>
Fri, 23 Oct 2020 20:56:51 +0000 (13:56 -0700)
vue.config.js

index 07d9589c2a5cf34a8dda428ca3037c10335ef6c0..5a9d05f6fd6030b69fa45ae1b91d1eaeea28b6f9 100644 (file)
@@ -10,50 +10,11 @@ module.exports = {
   publicPath: "",
   pwa: {
     manifestPath: "assets/manifest.json",
-    manifestOptions: {
-      start_url: "../",
-    },
     appleMobileWebAppStatusBarStyle: "black",
     appleMobileWebAppCapable: "yes",
     name: "Homer Dashboard",
-    short_name: "Homer",
-    theme_color: "#3367D6",
-    icons: [
-      {
-        src: "./icons/favicon-16x16.png",
-        sizes: "16x16",
-        type: "image/png",
-      },
-      {
-        src: "./icons/favicon-32x32.png",
-        sizes: "32x32",
-        type: "image/png",
-      },
-      {
-        src: "./icons/icon-any.png",
-        sizes: "512x512",
-        type: "image/png",
-        purpose: "any",
-      },
-      {
-        src: "./icons/icon-any.svg",
-        sizes: "any",
-        type: "image/svg+xml",
-        purpose: "any",
-      },
-      {
-        src: "./icons/icon-maskable.png",
-        sizes: "512x512",
-        type: "image/png",
-        purpose: "maskable",
-      },
-      {
-        src: "./icons/safari-pinned-tab.svg",
-        sizes: "any",
-        type: "image/svg+xml",
-        purpose: "monochrome",
-      },
-    ],
+    themeColor: "#3367D6",
+    manifestOptions: require('./public/assets/manifest.json'),
     iconPaths: {
       favicon32: "assets/icons/favicon-32x32.png",
       favicon16: "assets/icons/favicon-16x16.png",