Files
nexusphp/admin/src/main.js
T

14 lines
406 B
JavaScript
Raw Normal View History

2021-03-31 19:39:59 +08:00
import { createApp } from 'vue'
import App from './App.vue'
2021-04-21 19:54:50 +08:00
import ElementPlus from 'element-plus'
2021-04-22 03:24:59 +08:00
import router from './router/index'
2022-01-25 23:37:50 +08:00
import 'element-plus/theme-chalk/index.css'
2021-04-27 19:13:32 +08:00
import './styles/common.scss'
2022-01-28 02:50:30 +08:00
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')