From eb030922866f1e753162d99ea6b25a4f4e941b05 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Tue, 12 Jul 2022 14:07:10 +0200 Subject: [PATCH] Fix theming issue & subfolder hosting --- index.html | 2 +- src/assets/app.scss | 2 +- src/main.js | 2 +- vite.config.js | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index a08e126..5a0014c 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ Homer -
+
diff --git a/src/assets/app.scss b/src/assets/app.scss index 5102f93..d112482 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -13,7 +13,7 @@ text-overflow: ellipsis; } -html, body, body #app { +html, body, body #app-mount, body #app { height: 100%; background-color: var(--background); } diff --git a/src/main.js b/src/main.js index 164d290..a1d7b47 100644 --- a/src/main.js +++ b/src/main.js @@ -10,4 +10,4 @@ app.component("DynamicStyle", (_props, context) => { return h("style", {}, context.slots); }); -app.mount("#app"); +app.mount("#app-mount"); diff --git a/vite.config.js b/vite.config.js index 46fe909..cee8727 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,6 +6,7 @@ import vue from "@vitejs/plugin-vue"; // https://vitejs.dev/config/ export default defineConfig({ + base: "", build: { assetsDir: "resources", }, -- 2.41.0