2020-12-08 18:20:35 +08:00
|
|
|
import { createApp } from 'vue'
|
|
|
|
import App from './App.vue'
|
2020-12-25 18:15:04 +08:00
|
|
|
import router from './router'
|
2021-01-05 18:11:13 +08:00
|
|
|
import { store, key } from './store'
|
2020-12-13 22:46:41 +08:00
|
|
|
|
2020-12-24 23:35:43 +08:00
|
|
|
import ElementPlus from 'element-plus'
|
|
|
|
import 'element-plus/lib/theme-chalk/index.css'
|
|
|
|
import '/@/theme/index.scss'
|
2021-01-02 23:50:10 +08:00
|
|
|
import lang from 'element-plus/lib/locale/lang/zh-cn'
|
2021-01-04 18:56:38 +08:00
|
|
|
import mitt from "mitt"
|
2020-12-08 18:20:35 +08:00
|
|
|
|
2021-01-04 18:56:38 +08:00
|
|
|
const app = createApp(App)
|
2021-01-05 18:11:13 +08:00
|
|
|
app.use(router).use(store, key).use(ElementPlus, { locale: lang }).mount('#app')
|
2021-01-04 18:56:38 +08:00
|
|
|
app.config.globalProperties.mittBus = mitt()
|