前端技术简友广场

vue-cli 3.X 安装

2018-12-15  本文已影响37人  前端来入坑
npm uninstall vue-cli -g
npm install -g @vue/cli

vue-cli2.x的安装命令是npm install -g vue-cli

vue --version
vue create hello-world

vue-cli2.x创建项目是vue init hello-world

npm install -g @vue/cli-init
//安装完后 就还可以使用 vue init 命令初始化项目模板了
vue init webpack my_project
image.png

安装http://www.cnblogs.com/h2zZhou/p/9881534.html
区别https://blog.csdn.net/qq_37818095/article/details/82351479
vue-cli3.x目录简介https://www.cnblogs.com/XCWebLTE/p/9546756.html
官网https://cli.vuejs.org/zh/guide/installation.html

上一篇下一篇

猜你喜欢

热点阅读