]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
specify all icons path to fix pwa issue, 130611941
authorBastien Wirtz <bastien.wirtz@gmail.com>
Wed, 10 Jun 2020 05:30:28 +0000 (22:30 -0700)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Wed, 10 Jun 2020 05:30:28 +0000 (22:30 -0700)
public/index.html
vue.config.js

index 2cda7e2d6ae3e9a90685013a8bc8e1c2d8bda0a2..e38d4444826385243d02b7ba72bae90cb63a48ff 100644 (file)
@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width,initial-scale=1.0, viewport-fit=cover">
+    <meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover">
     <meta name="robots" content="noindex">
     <link rel="icon" href="<%= BASE_URL %>favicon.png">
     <title><%= htmlWebpackPlugin.options.title %></title>
index c244a86e1cb50f5f84d724ee396575f71eff3826..51a9b90047d0d85393c1f2430ce3d642d93f4fa4 100644 (file)
@@ -12,6 +12,83 @@ module.exports = {
     manifestPath: "assets/manifest.json",
     appleMobileWebAppStatusBarStyle: "black",
     appleMobileWebAppCapable: "yes",
+    name: "Homer Dashboard",
+    short_name: "Homer",
+    theme_color: "#3367D6",
+    icons: [
+      {
+        src: "./assets/icons/android-chrome-192x192.png",
+        sizes: "192x192",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/android-chrome-512x512.png",
+        sizes: "512x512",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/android-chrome-maskable-192x192.png",
+        sizes: "192x192",
+        type: "image/png",
+        purpose: "maskable",
+      },
+      {
+        src: "./assets/icons/android-chrome-maskable-512x512.png",
+        sizes: "512x512",
+        type: "image/png",
+        purpose: "maskable",
+      },
+      {
+        src: "./assets/icons/apple-touch-icon-60x60.png",
+        sizes: "60x60",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/apple-touch-icon-76x76.png",
+        sizes: "76x76",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/apple-touch-icon-120x120.png",
+        sizes: "120x120",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/apple-touch-icon-152x152.png",
+        sizes: "152x152",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/apple-touch-icon-180x180.png",
+        sizes: "180x180",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/apple-touch-icon.png",
+        sizes: "180x180",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/favicon-16x16.png",
+        sizes: "16x16",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/favicon-32x32.png",
+        sizes: "32x32",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/msapplication-icon-144x144.png",
+        sizes: "144x144",
+        type: "image/png",
+      },
+      {
+        src: "./assets/icons/mstile-150x150.png",
+        sizes: "150x150",
+        type: "image/png",
+      },
+    ],
     iconPaths: {
       favicon32: "assets/icons/favicon-32x32.png",
       favicon16: "assets/icons/favicon-16x16.png",