aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/main.ts
blob: d13ef719e0a4e3c781f76ed54b002ef135d8ac06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 );

app.mount('#app')