From: Bastien Wirtz Date: Tue, 12 Jul 2022 12:07:10 +0000 (+0200) Subject: Fix theming issue & subfolder hosting X-Git-Tag: v22.07.2~2^2~2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=eb030922866f1e753162d99ea6b25a4f4e941b05;p=github%2Fbastienwirtz%2Fhomer.git Fix theming issue & subfolder hosting --- 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", },