aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-06-09 22:30:28 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-06-09 22:30:28 -0700
commita23914d573841f9088cc9cd69bce24c28f432acf (patch)
treed398a83d0f835aed091853c889eea223bc93891f
parent9e4fe0d2274b00106e6a46a11242dcac1c10e8a1 (diff)
downloadhomer-a23914d573841f9088cc9cd69bce24c28f432acf.tar.gz
homer-a23914d573841f9088cc9cd69bce24c28f432acf.tar.zst
homer-a23914d573841f9088cc9cd69bce24c28f432acf.zip
specify all icons path to fix pwa issue,130611941
-rw-r--r--public/index.html2
-rw-r--r--vue.config.js77
2 files changed, 78 insertions, 1 deletions
diff --git a/public/index.html b/public/index.html
index 2cda7e2..e38d444 100644
--- a/public/index.html
+++ b/public/index.html
@@ -3,7 +3,7 @@
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width,initial-scale=1.0, viewport-fit=cover"> 6 <meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover">
7 <meta name="robots" content="noindex"> 7 <meta name="robots" content="noindex">
8 <link rel="icon" href="<%= BASE_URL %>favicon.png"> 8 <link rel="icon" href="<%= BASE_URL %>favicon.png">
9 <title><%= htmlWebpackPlugin.options.title %></title> 9 <title><%= htmlWebpackPlugin.options.title %></title>
diff --git a/vue.config.js b/vue.config.js
index c244a86..51a9b90 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,6 +12,83 @@ module.exports = {
12 manifestPath: "assets/manifest.json", 12 manifestPath: "assets/manifest.json",
13 appleMobileWebAppStatusBarStyle: "black", 13 appleMobileWebAppStatusBarStyle: "black",
14 appleMobileWebAppCapable: "yes", 14 appleMobileWebAppCapable: "yes",
15 name: "Homer Dashboard",
16 short_name: "Homer",
17 theme_color: "#3367D6",
18 icons: [
19 {
20 src: "./assets/icons/android-chrome-192x192.png",
21 sizes: "192x192",
22 type: "image/png",
23 },
24 {
25 src: "./assets/icons/android-chrome-512x512.png",
26 sizes: "512x512",
27 type: "image/png",
28 },
29 {
30 src: "./assets/icons/android-chrome-maskable-192x192.png",
31 sizes: "192x192",
32 type: "image/png",
33 purpose: "maskable",
34 },
35 {
36 src: "./assets/icons/android-chrome-maskable-512x512.png",
37 sizes: "512x512",
38 type: "image/png",
39 purpose: "maskable",
40 },
41 {
42 src: "./assets/icons/apple-touch-icon-60x60.png",
43 sizes: "60x60",
44 type: "image/png",
45 },
46 {
47 src: "./assets/icons/apple-touch-icon-76x76.png",
48 sizes: "76x76",
49 type: "image/png",
50 },
51 {
52 src: "./assets/icons/apple-touch-icon-120x120.png",
53 sizes: "120x120",
54 type: "image/png",
55 },
56 {
57 src: "./assets/icons/apple-touch-icon-152x152.png",
58 sizes: "152x152",
59 type: "image/png",
60 },
61 {
62 src: "./assets/icons/apple-touch-icon-180x180.png",
63 sizes: "180x180",
64 type: "image/png",
65 },
66 {
67 src: "./assets/icons/apple-touch-icon.png",
68 sizes: "180x180",
69 type: "image/png",
70 },
71 {
72 src: "./assets/icons/favicon-16x16.png",
73 sizes: "16x16",
74 type: "image/png",
75 },
76 {
77 src: "./assets/icons/favicon-32x32.png",
78 sizes: "32x32",
79 type: "image/png",
80 },
81 {
82 src: "./assets/icons/msapplication-icon-144x144.png",
83 sizes: "144x144",
84 type: "image/png",
85 },
86 {
87 src: "./assets/icons/mstile-150x150.png",
88 sizes: "150x150",
89 type: "image/png",
90 },
91 ],
15 iconPaths: { 92 iconPaths: {
16 favicon32: "assets/icons/favicon-32x32.png", 93 favicon32: "assets/icons/favicon-32x32.png",
17 favicon16: "assets/icons/favicon-16x16.png", 94 favicon16: "assets/icons/favicon-16x16.png",