npm uninstall -g vue-cli

vue create is a Vue CLI 3 only command and you are using Vue CLI 2.9.6.

  You may want to run the following to upgrade to Vue CLI 3:


  npm uninstall -g vue-cli

  npm install -g @vue/cli


vue create XXX


  cd cli

 npm run serve

 

发表评论:

Powered By Z-BlogPHP 1.7.3

Copyright Your WebSite.Some Rights Reserved.