diff options
Diffstat (limited to 'vue.config.js')
-rw-r--r-- | vue.config.js | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/vue.config.js b/vue.config.js index de31367..07d9589 100644 --- a/vue.config.js +++ b/vue.config.js | |||
@@ -1,65 +1,65 @@ | |||
1 | module.exports = { | 1 | module.exports = { |
2 | chainWebpack: (config) => { | 2 | chainWebpack: (config) => { |
3 | config.module | 3 | config.module |
4 | .rule('yaml') | 4 | .rule("yaml") |
5 | .test(/\.ya?ml$/) | 5 | .test(/\.ya?ml$/) |
6 | .use('raw-loader') | 6 | .use("raw-loader") |
7 | .loader('raw-loader') | 7 | .loader("raw-loader") |
8 | .end(); | 8 | .end(); |
9 | }, | 9 | }, |
10 | publicPath: '', | 10 | publicPath: "", |
11 | pwa: { | 11 | pwa: { |
12 | manifestPath: 'assets/manifest.json', | 12 | manifestPath: "assets/manifest.json", |
13 | manifestOptions: { | 13 | manifestOptions: { |
14 | start_url: '../', | 14 | start_url: "../", |
15 | }, | 15 | }, |
16 | appleMobileWebAppStatusBarStyle: 'black', | 16 | appleMobileWebAppStatusBarStyle: "black", |
17 | appleMobileWebAppCapable: 'yes', | 17 | appleMobileWebAppCapable: "yes", |
18 | name: 'Homer Dashboard', | 18 | name: "Homer Dashboard", |
19 | short_name: 'Homer', | 19 | short_name: "Homer", |
20 | theme_color: '#3367D6', | 20 | theme_color: "#3367D6", |
21 | icons: [ | 21 | icons: [ |
22 | { | 22 | { |
23 | src: '../assets/icons/favicon-16x16.png', | 23 | src: "./icons/favicon-16x16.png", |
24 | sizes: '16x16', | 24 | sizes: "16x16", |
25 | type: 'image/png', | 25 | type: "image/png", |
26 | }, | 26 | }, |
27 | { | 27 | { |
28 | src: '../assets/icons/favicon-32x32.png', | 28 | src: "./icons/favicon-32x32.png", |
29 | sizes: '32x32', | 29 | sizes: "32x32", |
30 | type: 'image/png', | 30 | type: "image/png", |
31 | }, | 31 | }, |
32 | { | 32 | { |
33 | src: '../assets/icons/icon-any.png', | 33 | src: "./icons/icon-any.png", |
34 | sizes: '512x512', | 34 | sizes: "512x512", |
35 | type: 'image/png', | 35 | type: "image/png", |
36 | purpose: 'any', | 36 | purpose: "any", |
37 | }, | 37 | }, |
38 | { | 38 | { |
39 | src: '../assets/icons/icon-any.svg', | 39 | src: "./icons/icon-any.svg", |
40 | sizes: 'any', | 40 | sizes: "any", |
41 | type: 'image/svg+xml', | 41 | type: "image/svg+xml", |
42 | purpose: 'any', | 42 | purpose: "any", |
43 | }, | 43 | }, |
44 | { | 44 | { |
45 | src: '../assets/icons/icon-maskable.png', | 45 | src: "./icons/icon-maskable.png", |
46 | sizes: '512x512', | 46 | sizes: "512x512", |
47 | type: 'image/png', | 47 | type: "image/png", |
48 | purpose: 'maskable', | 48 | purpose: "maskable", |
49 | }, | 49 | }, |
50 | { | 50 | { |
51 | src: '../assets/icons/safari-pinned-tab.svg', | 51 | src: "./icons/safari-pinned-tab.svg", |
52 | sizes: 'any', | 52 | sizes: "any", |
53 | type: 'image/svg+xml', | 53 | type: "image/svg+xml", |
54 | purpose: 'monochrome', | 54 | purpose: "monochrome", |
55 | }, | 55 | }, |
56 | ], | 56 | ], |
57 | iconPaths: { | 57 | iconPaths: { |
58 | favicon32: 'assets/icons/favicon-32x32.png', | 58 | favicon32: "assets/icons/favicon-32x32.png", |
59 | favicon16: 'assets/icons/favicon-16x16.png', | 59 | favicon16: "assets/icons/favicon-16x16.png", |
60 | appleTouchIcon: 'assets/icons/icon-maskable.png', | 60 | appleTouchIcon: "assets/icons/icon-maskable.png", |
61 | maskIcon: 'assets/icons/safari-pinned-tab.svg', | 61 | maskIcon: "assets/icons/safari-pinned-tab.svg", |
62 | msTileImage: 'assets/icons/icon-any.png', | 62 | msTileImage: "assets/icons/icon-any.png", |
63 | }, | 63 | }, |
64 | }, | 64 | }, |
65 | }; | 65 | }; |