This commit is contained in:
zhangdongxue
2021-09-25 21:27:58 +08:00
parent eb50338760
commit 7f69a95c3a
5 changed files with 54 additions and 7 deletions

View File

@@ -4,10 +4,13 @@ import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store, { key } from './store'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
const app = createApp(App)
app.use(ElementPlus)
app.use(ElementPlus, {
locale: zhCn,
})
app.use(store, key)
app.use(router)
app.mount('#app')