diff options
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | src/assets/app.scss | 2 | ||||
-rw-r--r-- | src/main.js | 2 | ||||
-rw-r--r-- | vite.config.js | 1 |
4 files changed, 4 insertions, 3 deletions
@@ -9,7 +9,7 @@ | |||
9 | <title>Homer</title> | 9 | <title>Homer</title> |
10 | </head> | 10 | </head> |
11 | <body> | 11 | <body> |
12 | <div id="app"></div> | 12 | <div id="app-mount"></div> |
13 | <script type="module" src="/src/main.js"></script> | 13 | <script type="module" src="/src/main.js"></script> |
14 | </body> | 14 | </body> |
15 | </html> | 15 | </html> |
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 @@ | |||
13 | text-overflow: ellipsis; | 13 | text-overflow: ellipsis; |
14 | } | 14 | } |
15 | 15 | ||
16 | html, body, body #app { | 16 | html, body, body #app-mount, body #app { |
17 | height: 100%; | 17 | height: 100%; |
18 | background-color: var(--background); | 18 | background-color: var(--background); |
19 | } | 19 | } |
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) => { | |||
10 | return h("style", {}, context.slots); | 10 | return h("style", {}, context.slots); |
11 | }); | 11 | }); |
12 | 12 | ||
13 | app.mount("#app"); | 13 | 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"; | |||
6 | 6 | ||
7 | // https://vitejs.dev/config/ | 7 | // https://vitejs.dev/config/ |
8 | export default defineConfig({ | 8 | export default defineConfig({ |
9 | base: "", | ||
9 | build: { | 10 | build: { |
10 | assetsDir: "resources", | 11 | assetsDir: "resources", |
11 | }, | 12 | }, |