以前都是用 vue init webpack my_project創建的項目,由於項目的切換,需要創建一個新項目,創建的時候出現報錯即
Command vue init requires a global addon to be installed.
Please run npm install -g @vue/cli-init and try again.
按照命令執行以后居然不行
使用百度查詢深深的感到百度對於想獲取的東西的展現是那么的垃圾,於是轉戰www.bing.com 在bing中找到了解決這個問題的方法
使用vue create my-project然后我是安裝依賴解決的