aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorRemy Raes <contact@remyraes.com>2022-09-22 08:28:50 +0200
committerRemy Raes <contact@remyraes.com>2022-09-22 08:28:50 +0200
commit39679a4b9e95f5dae0b72d3379ddcdccd3a892d5 (patch)
tree6082be05b70608e581d23f8e80cfe50f68d4d384 /src-vue/src
parentcb54685f4b95982acb7c13e2158f538a3ce37ec4 (diff)
downloadFlightCore-39679a4b9e95f5dae0b72d3379ddcdccd3a892d5.tar.gz
FlightCore-39679a4b9e95f5dae0b72d3379ddcdccd3a892d5.zip
build: import element plugin into Vue
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/main.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts
index 2425c0f7..4a4e8745 100644
--- a/src-vue/src/main.ts
+++ b/src-vue/src/main.ts
@@ -1,5 +1,11 @@
import { createApp } from 'vue'
-import './style.css'
import App from './App.vue'
+import ElementPlus from "element-plus";
-createApp(App).mount('#app')
+// styles
+import 'element-plus/theme-chalk/index.css';
+// import './style.css'
+
+const app = createApp(App);
+app.use(ElementPlus);
+app.mount('#app')