15 lines
383 B
JavaScript
15 lines
383 B
JavaScript
import { createApp } from 'vue'
|
|
import router from './router'
|
|
import App from './App.vue'
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
import * as Elicons from '@element-plus/icons-vue';
|
|
|
|
const app = createApp(App)
|
|
|
|
Object.keys(Elicons).forEach((key) => {
|
|
app.component(key, Elicons[key]);
|
|
});
|
|
app.use(ElementPlus)
|
|
app.use(router)
|
|
app.mount('#app') |