blob: 048f8f30aab317e9c7f334a5e88e45cd97474977 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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'
const app = createApp(App);
app.use(ElementPlus);
// icons
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component);
}
app.mount('#app')
|