mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 21:14:57 +08:00
22 lines
525 B
TypeScript
22 lines
525 B
TypeScript
![]() |
import { createApp, defineComponent, ref, reactive } from 'vue'
|
||
|
|
||
|
import main from './main.vue'
|
||
|
import router from './router'
|
||
|
import ElementPlus from 'element-plus';
|
||
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||
|
|
||
|
|
||
|
import 'element-plus/dist/index.css';
|
||
|
import './assets/css/global.scss';
|
||
|
|
||
|
const app = createApp(main)
|
||
|
|
||
|
app.use(router)
|
||
|
.use(ElementPlus) // ElementPlus 全局引入
|
||
|
|
||
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||
|
app.component(key, component)
|
||
|
}
|
||
|
|
||
|
app.mount('#app')
|