搭建vue项目出现 bash:vue: command not found

问题所在:

解:电脑全局搜索cmd右键以管理员身份运行。

1.npm install -g cnpm --registry=https://registry.npm.taobao.org

2.cnpm install -g vue-cli

实现效果:

猜你喜欢

转载自blog.csdn.net/kyunsoo/article/details/88225809