aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTiger Oakes <contact@tigeroakes.com>2020-10-23 13:44:46 -0700
committerTiger Oakes <contact@tigeroakes.com>2020-10-23 13:44:46 -0700
commitb04e718367297b95aedad2efb2c74bfd8e3be37f (patch)
treedf13554dcb985fe90042aef970285e866d89942b
parentf70fc3ecaee1bded5d699728ab50aada9982b198 (diff)
downloadhomer-b04e718367297b95aedad2efb2c74bfd8e3be37f.tar.gz
homer-b04e718367297b95aedad2efb2c74bfd8e3be37f.tar.zst
homer-b04e718367297b95aedad2efb2c74bfd8e3be37f.zip
Update paths and style
-rw-r--r--public/assets/manifest.json12
-rw-r--r--src/App.vue6
-rw-r--r--vue.config.js76
3 files changed, 47 insertions, 47 deletions
diff --git a/public/assets/manifest.json b/public/assets/manifest.json
index 8b9686a..1c98730 100644
--- a/public/assets/manifest.json
+++ b/public/assets/manifest.json
@@ -5,35 +5,35 @@
5 "start_url": "../", 5 "start_url": "../",
6 "icons": [ 6 "icons": [
7 { 7 {
8 "src": "../assets/icons/favicon-16x16.png", 8 "src": "./icons/favicon-16x16.png",
9 "sizes": "16x16", 9 "sizes": "16x16",
10 "type": "image/png" 10 "type": "image/png"
11 }, 11 },
12 { 12 {
13 "src": "../assets/icons/favicon-32x32.png", 13 "src": "./icons/favicon-32x32.png",
14 "sizes": "32x32", 14 "sizes": "32x32",
15 "type": "image/png" 15 "type": "image/png"
16 }, 16 },
17 { 17 {
18 "src": "../assets/icons/icon-any.png", 18 "src": "./icons/icon-any.png",
19 "sizes": "512x512", 19 "sizes": "512x512",
20 "type": "image/png", 20 "type": "image/png",
21 "purpose": "any" 21 "purpose": "any"
22 }, 22 },
23 { 23 {
24 "src": "../assets/icons/icon-any.svg", 24 "src": "./icons/icon-any.svg",
25 "sizes": "any", 25 "sizes": "any",
26 "type": "image/svg+xml", 26 "type": "image/svg+xml",
27 "purpose": "any" 27 "purpose": "any"
28 }, 28 },
29 { 29 {
30 "src": "../assets/icons/icon-maskable.png", 30 "src": "./icons/icon-maskable.png",
31 "sizes": "512x512", 31 "sizes": "512x512",
32 "type": "image/png", 32 "type": "image/png",
33 "purpose": "maskable" 33 "purpose": "maskable"
34 }, 34 },
35 { 35 {
36 "src": "../assets/icons/safari-pinned-tab.svg", 36 "src": "./icons/safari-pinned-tab.svg",
37 "sizes": "any", 37 "sizes": "any",
38 "type": "image/svg+xml", 38 "type": "image/svg+xml",
39 "purpose": "monochrome" 39 "purpose": "monochrome"
diff --git a/src/App.vue b/src/App.vue
index 03760fd..eb132d0 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -161,7 +161,7 @@ export default {
161 this.services = this.config.services; 161 this.services = this.config.services;
162 document.title = `${this.config.title} | ${this.config.subtitle}`; 162 document.title = `${this.config.title} | ${this.config.subtitle}`;
163 if (this.config.stylesheet) { 163 if (this.config.stylesheet) {
164 let stylesheet = ''; 164 let stylesheet = "";
165 for (const file of this.config.stylesheet) { 165 for (const file of this.config.stylesheet) {
166 stylesheet += `@import "${file}";`; 166 stylesheet += `@import "${file}";`;
167 } 167 }
@@ -242,8 +242,8 @@ export default {
242 }, 242 },
243 }; 243 };
244 }, 244 },
245 createStylesheet: function(css) { 245 createStylesheet: function (css) {
246 let style = document.createElement('style'); 246 let style = document.createElement("style");
247 style.appendChild(document.createTextNode(css)); 247 style.appendChild(document.createTextNode(css));
248 document.head.appendChild(style); 248 document.head.appendChild(style);
249 }, 249 },
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 @@
1module.exports = { 1module.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};