mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-12 04:16:50 +08:00
27 lines
962 B
JavaScript
27 lines
962 B
JavaScript
/*
|
|
* @Author: lixg lixg@dongwu-inc.com
|
|
* @Date: 2022-12-11 16:57:58
|
|
* @LastEditors: lixg lixg@dongwu-inc.com
|
|
* @LastEditTime: 2022-12-18 16:31:00
|
|
* @FilePath: /fe-stu/src/main.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import store from './store'
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
import "@/assets/scss/common.scss"
|
|
import "@/assets/scss/iconfont.css"
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
const app = createApp(App)
|
|
app.use(store).use(router).mount('#app')
|
|
app.use(ElementPlus, {
|
|
locale: zhCn,
|
|
})
|
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component)
|
|
} |