vue-cli2.X 升級到3.X

可能遇到的問題 npm uninstall vue-cli -g //卸載vue-cli舊版本 npm install -g @vue/cli //安裝新版本 npm vue -V //查看版本(還是2.x) 原因可能跟node的環境配置有關,具體環境配置可以參見我的關於node下載到新版的文章。 http://www.javashuo.com/article/p-uzpxrjnh-qa.html
相關文章
相關標籤/搜索