element-ui从1.4.*升级到2.4.6

直接在package.json

"element-ui": "^2.4.6",
"vue": "^2.5.3",
"vue-template-compiler": "^2.5.3",

main.js

import 'element-ui/lib/theme-chalk/index.css'
改成
import 'element-ui/lib/theme-chalk/index.css'

你可能感兴趣的:(element-ui从1.4.*升级到2.4.6)