update vite and element-plus version to latest

This commit is contained in:
hanyang-sh 2021-11-28 13:09:26 +08:00
parent 274198a7bd
commit c4214185dc
3 changed files with 1402 additions and 481 deletions

1871
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
},
"dependencies": {
"axios": "^0.21.1",
"element-plus": "1.0.2-beta.52",
"element-plus": "^1.2.0-beta.4",
"vue": "^3.1.2",
"vue-cropperjs": "^5.0.0",
"vue-i18n": "^9.0.0",
@ -19,9 +19,9 @@
"wangeditor": "^4.7.4"
},
"devDependencies": {
"vite": "2.3.7",
"@vitejs/plugin-vue": "^1.2.3",
"@vue/compiler-sfc": "^3.1.2"
"@vue/compiler-sfc": "^3.1.2",
"vite": "^2.6.14"
},
"browserslist": [
"> 1%",

View File

@ -1,8 +1,8 @@
import ElementPlus from 'element-plus'
import { createI18n } from 'vue-i18n'
import 'element-plus/lib/theme-chalk/index.css'
import localeZH from 'element-plus/lib/locale/lang/zh-cn'
import localeEN from 'element-plus/lib/locale/lang/en'
import 'element-plus/dist/index.css'
import localeZH from 'element-plus/es/locale/lang/zh-cn'
import localeEN from 'element-plus/es/locale/lang/en'
import messages from '../utils/i18n'
const i18n = createI18n({