fix shoelace
parent
915203ac8d
commit
d6b877400f
|
@ -33,8 +33,8 @@ export default defineComponent({
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../node_modules/normalize.css/normalize.css";
|
@import "../node_modules/normalize.css/normalize.css";
|
||||||
@import "../node_modules/@shoelace-style/shoelace/dist/shoelace/shoelace.css";
|
@import "../node_modules/@shoelace-style/shoelace/dist/themes/base.css";
|
||||||
@import "../node_modules/@shoelace-style/shoelace/themes/dark.css";
|
@import "../node_modules/@shoelace-style/shoelace/dist/themes/dark.css";
|
||||||
@import url("/assets/fonts/inter.css");
|
@import url("/assets/fonts/inter.css");
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
import { defineCustomElements, setAssetPath, SlInput } from "@shoelace-style/shoelace";
|
import { setBasePath, SlInput } from "@shoelace-style/shoelace";
|
||||||
import * as Vue from "vue";
|
import * as Vue from "vue";
|
||||||
import { DirectiveBinding } from "vue";
|
import { DirectiveBinding } from "vue";
|
||||||
import App from "./App.vue";
|
import App from "./App.vue";
|
||||||
import router from "./router";
|
import router from "./router";
|
||||||
|
|
||||||
// TODO: Remove when UI settles!
|
// TODO: Remove when UI settles!
|
||||||
defineCustomElements();
|
setBasePath(`${window.location.origin}/`);
|
||||||
setAssetPath(`${window.location.origin}/${process.env.VUE_APP_ASSET_PATH}/`);
|
|
||||||
|
|
||||||
const app = Vue.createApp(App);
|
const app = Vue.createApp(App);
|
||||||
app.use(router);
|
app.use(router);
|
||||||
|
|
|
@ -9,7 +9,7 @@ module.exports = {
|
||||||
{
|
{
|
||||||
from: path.resolve(
|
from: path.resolve(
|
||||||
__dirname,
|
__dirname,
|
||||||
"node_modules/@shoelace-style/shoelace/dist/shoelace/icons"
|
"node_modules/@shoelace-style/shoelace/dist/assets/icons"
|
||||||
),
|
),
|
||||||
to: path.resolve(__dirname, "dist/assets/icons")
|
to: path.resolve(__dirname, "dist/assets/icons")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue