forked from extern/homer
Fix theming issue & subfolder hosting
This commit is contained in:
parent
9582b1871a
commit
eb03092286
@ -9,7 +9,7 @@
|
||||
<title>Homer</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<div id="app-mount"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
html, body, body #app {
|
||||
html, body, body #app-mount, body #app {
|
||||
height: 100%;
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
@ -10,4 +10,4 @@ app.component("DynamicStyle", (_props, context) => {
|
||||
return h("style", {}, context.slots);
|
||||
});
|
||||
|
||||
app.mount("#app");
|
||||
app.mount("#app-mount");
|
||||
|
@ -6,6 +6,7 @@ import vue from "@vitejs/plugin-vue";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: "",
|
||||
build: {
|
||||
assetsDir: "resources",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user