VUE CLI 3的使用方式

参考地址:https://cli.vuejs.org/zh/guide/

安装


npm install -g @vue/cli
vue --version //查看版本

使用


//在自己想安装的路径目录 执行
vue create hello-world

拉取 2.x 模板 (旧版本)


npm install -g @vue/cli-init
# `vue init` 的运行效果将会跟 `[email protected]` 相同
vue init webpack my-project

猜你喜欢

转载自blog.csdn.net/weixiaoderensheng/article/details/83031199