diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-04 22:05:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 22:05:26 +0200 |
commit | dd2f37620b8a4d925bdb55badfb598c30d9c5ba8 (patch) | |
tree | e1f79d454123f51d2a5c0adbc9d4eeee07186df5 /src-vue/src/main.ts | |
parent | 7f0ee9be80988f13f1d234136725a03db0335ec5 (diff) | |
parent | 5912e98a02e799b7ad6c910567fe18988ab84798 (diff) | |
download | FlightCore-dd2f37620b8a4d925bdb55badfb598c30d9c5ba8.tar.gz FlightCore-dd2f37620b8a4d925bdb55badfb598c30d9c5ba8.zip |
Merge pull request #2 from Alystrasz/feat/new-ui
Full UI rework
Diffstat (limited to 'src-vue/src/main.ts')
-rw-r--r-- | src-vue/src/main.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts new file mode 100644 index 00000000..0ac31a2d --- /dev/null +++ b/src-vue/src/main.ts @@ -0,0 +1,23 @@ +import { createApp } from 'vue' +import App from './App.vue' +import ElementPlus from "element-plus"; +import * as ElementPlusIconsVue from '@element-plus/icons-vue' + + +// styles +import 'element-plus/theme-chalk/index.css'; +import './style.css' +import { store } from './plugins/store'; + +const app = createApp(App); +app.use(ElementPlus); + +// icons +for (const [key, component] of Object.entries(ElementPlusIconsVue)) { + app.component(key, component); +} + +// style +app.use( store, '$store' ); + +app.mount('#app') |