aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/App.vue
diff options
context:
space:
mode:
authorGabe Cook <gabe565@gmail.com>2020-08-29 02:43:02 -0500
committerGabe Cook <gabe565@gmail.com>2020-08-29 02:43:02 -0500
commit8e5ee54a7896ac8db720093f30cab8e7a0fddda1 (patch)
tree7fe075749353683e966a87c0db4ba24294ff1f8d /src/App.vue
parent71cf63eb3bdeeced46e7eec4d62ef8cc4ca38800 (diff)
downloadhomer-8e5ee54a7896ac8db720093f30cab8e7a0fddda1.tar.gz
homer-8e5ee54a7896ac8db720093f30cab8e7a0fddda1.tar.zst
homer-8e5ee54a7896ac8db720093f30cab8e7a0fddda1.zip
:wrench: Make stylesheet config be an array of files
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/App.vue b/src/App.vue
index 272b3f6..03760fd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -161,7 +161,11 @@ 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 this.createStylesheet(`@import "${this.config.stylesheet}";`); 164 let stylesheet = '';
165 for (const file of this.config.stylesheet) {
166 stylesheet += `@import "${file}";`;
167 }
168 this.createStylesheet(stylesheet);
165 } 169 }
166 }, 170 },
167 methods: { 171 methods: {