mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 08:10:49 +08:00
14 lines
406 B
JavaScript
Vendored
14 lines
406 B
JavaScript
Vendored
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import ElementPlus from 'element-plus'
|
|
import router from './router/index'
|
|
import 'element-plus/theme-chalk/index.css'
|
|
import './styles/common.scss'
|
|
import * as ElIcons from '@element-plus/icons-vue'
|
|
|
|
const app = createApp(App)
|
|
for (const name in ElIcons) {
|
|
app.component(name, ElIcons[name])
|
|
}
|
|
app.use(ElementPlus).use(router).mount('#app')
|