whychdw
2024-05-27 a8888d8db186ed398d306f58c89a395b6e7a8df8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { createApp } from 'vue'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import {setupElIcons} from "@/plugins";
 
const app = createApp(App)
 
// 全局注册Element-plus图标
setupElIcons(app);
 
app.use(createPinia())
app.use(router)
 
app.mount('#app')