Vue创建项目的3种方式


https://cli.vuejs.org/guide/creating-a-project.html

1.命令行

vue create hello-world

2.管理UI

vue ui

开启的是本地界面服务

 3.Pulling 2.x Templates (Legacy)

Vue CLI >= 3 uses the same vue binary, so it overwrites Vue CLI 2 (vue-cli). If you still need the legacy vue init functionality, you can install a global bridge:

npm install -g @vue/cli-init
# vue init now works exactly the same as vue-cli@2.x
vue init webpack my-project
 
vue