You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
429 B

import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import * as ELIcons from '@element-plus/icons-vue'
import router from './router/index.js'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
const app = createApp(App)
for (const name in ELIcons){
app.component(name, ELIcons[name]);
}
app.use(router).use(ElementPlus, {locale: zhCn,}).mount('#app')