Results 4 comments of Sid

最新版本里package.json里vue版本引入还是"vue": "^1.0.0"?

我自己解决了,版本的问题 "vue": "2.1.3", "vue-template-compiler":"2.1.3", "vue-loader": "10.0.0", 固定装这几个版本,就不会出问题了,执行下面的命令 sudo rm -rf node_modules sudo npm cache clean sudo npm install