mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2025-12-15 02:52:49 +00:00
21 lines
451 B
TypeScript
21 lines
451 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import roter from './router'
|
|
import ElementPlus from 'element-plus'
|
|
import pinia from './stores'
|
|
import lang from './lang'
|
|
import '@/styles/index.scss'
|
|
import { useElementIcon } from './utils/common'
|
|
|
|
async function run() {
|
|
const app = createApp(App)
|
|
app.use(pinia)
|
|
app.use(lang)
|
|
app.use(roter)
|
|
app.use(ElementPlus)
|
|
useElementIcon(app)
|
|
app.mount('#app')
|
|
}
|
|
|
|
run()
|