diff options
author | Remy Raes <contact@remyraes.com> | 2022-09-22 08:28:50 +0200 |
---|---|---|
committer | Remy Raes <contact@remyraes.com> | 2022-09-22 08:28:50 +0200 |
commit | 39679a4b9e95f5dae0b72d3379ddcdccd3a892d5 (patch) | |
tree | 6082be05b70608e581d23f8e80cfe50f68d4d384 /src-vue/src/main.ts | |
parent | cb54685f4b95982acb7c13e2158f538a3ce37ec4 (diff) | |
download | FlightCore-39679a4b9e95f5dae0b72d3379ddcdccd3a892d5.tar.gz FlightCore-39679a4b9e95f5dae0b72d3379ddcdccd3a892d5.zip |
build: import element plugin into Vue
Diffstat (limited to 'src-vue/src/main.ts')
-rw-r--r-- | src-vue/src/main.ts | 10 |
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') |