懒加载
This commit is contained in:
@@ -33,6 +33,10 @@ import 'element-plus/theme-chalk/index.css'
|
||||
import locale from 'element-plus/lib/locale/lang/zh-cn';
|
||||
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
|
||||
import lazyPlugin from 'vue3-lazyload'
|
||||
|
||||
|
||||
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
|
||||
import api from "./utils/api";
|
||||
|
||||
@@ -76,6 +80,9 @@ app.use(ElMessage)
|
||||
app.use(ElBreadcrumb)
|
||||
app.use(ElAffix)
|
||||
|
||||
app.use(lazyPlugin)
|
||||
|
||||
|
||||
app.use(store).use(router).use(Axios).mount('#app')
|
||||
// app.use(store).use(router).use(Axios).use(ElementPlus, {
|
||||
// locale: zhCn
|
||||
|
||||
Reference in New Issue
Block a user