aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/main.js b/src/main.js
index e5995a4..a1d7b47 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,19 +1,13 @@
1import Vue from "vue"; 1import { createApp, h } from "vue";
2import App from "./App.vue"; 2import App from "./App.vue";
3import "./registerServiceWorker";
4 3
5import "@fortawesome/fontawesome-free/css/all.css"; 4import "@fortawesome/fontawesome-free/css/all.css";
6
7import "./assets/app.scss"; 5import "./assets/app.scss";
8 6
9Vue.config.productionTip = false; 7const app = createApp(App);
10 8
11Vue.component("DynamicStyle", { 9app.component("DynamicStyle", (_props, context) => {
12 render: function (createElement) { 10 return h("style", {}, context.slots);
13 return createElement("style", this.$slots.default);
14 },
15}); 11});
16 12
17new Vue({ 13app.mount("#app-mount");
18 render: (h) => h(App),
19}).$mount("#app");