19 lines
598 B
JavaScript
19 lines
598 B
JavaScript
/*
|
|
* @Author: 季万俊
|
|
* @Date: 2025-06-10 14:36:16
|
|
* @Description:
|
|
*/
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import 'element-plus/dist/index.css'
|
|
import ElementPlus from 'element-plus'
|
|
import zhCN from 'element-plus/dist/locale/zh-cn.mjs' // 引入中文
|
|
import router from './router' // 引入路由配置
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
|
|
const app = createApp(App);
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component)
|
|
}
|
|
app.use(ElementPlus, { locale: zhCN }).use(router).mount('#app')
|