update vite and element-plus version to latest
This commit is contained in:
parent
274198a7bd
commit
c4214185dc
File diff suppressed because it is too large
Load Diff
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
"element-plus": "1.0.2-beta.52",
|
"element-plus": "^1.2.0-beta.4",
|
||||||
"vue": "^3.1.2",
|
"vue": "^3.1.2",
|
||||||
"vue-cropperjs": "^5.0.0",
|
"vue-cropperjs": "^5.0.0",
|
||||||
"vue-i18n": "^9.0.0",
|
"vue-i18n": "^9.0.0",
|
||||||
|
@ -19,9 +19,9 @@
|
||||||
"wangeditor": "^4.7.4"
|
"wangeditor": "^4.7.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vite": "2.3.7",
|
|
||||||
"@vitejs/plugin-vue": "^1.2.3",
|
"@vitejs/plugin-vue": "^1.2.3",
|
||||||
"@vue/compiler-sfc": "^3.1.2"
|
"@vue/compiler-sfc": "^3.1.2",
|
||||||
|
"vite": "^2.6.14"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"> 1%",
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import ElementPlus from 'element-plus'
|
import ElementPlus from 'element-plus'
|
||||||
import { createI18n } from 'vue-i18n'
|
import { createI18n } from 'vue-i18n'
|
||||||
import 'element-plus/lib/theme-chalk/index.css'
|
import 'element-plus/dist/index.css'
|
||||||
import localeZH from 'element-plus/lib/locale/lang/zh-cn'
|
import localeZH from 'element-plus/es/locale/lang/zh-cn'
|
||||||
import localeEN from 'element-plus/lib/locale/lang/en'
|
import localeEN from 'element-plus/es/locale/lang/en'
|
||||||
import messages from '../utils/i18n'
|
import messages from '../utils/i18n'
|
||||||
|
|
||||||
const i18n = createI18n({
|
const i18n = createI18n({
|
||||||
|
|
Loading…
Reference in New Issue