难吗?
package.json 做一下修改
"dependencies": {
"element-ui": "2.0.9",
"vue": "2.5.2",
"vue-router": "3.0.1",
"vuex": "3.0.0",
"devDependencies": {
"vue-class-component": "^6.0.0",
"vue-loader": "^13.3.0",
"vue-property-decorator": "^6.0.0",
"vue-template-compiler": "2.5.2",
main.js修改引用先后 和CSS路径
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue' //这里要把App的引用顺序放到最后
注意 !!!!!先把node_modules 文件删了 保险 点
还不行 进QQ群交流,博客左侧那