vue.js - How to use the vue command of vue-cli under linux
给我你的怀抱
给我你的怀抱 2017-05-27 17:44:55
0
4
808

Now node and npm commands can be used
Then vue-cli and webpack are installed globally
But the commands cannot be used
Does anyone know how to solve it

给我你的怀抱
给我你的怀抱

reply all(4)
过去多啦不再A梦

sudo ln -s /home/aaa/下载/node-v6.10.3-linux-x64/bin/vue /usr/local/bin/vue

Solved, just point to the environment path

过去多啦不再A梦

1.Install nodejs
2.npm install vue-cli -g
3.vue init $project_name

phpcn_u1582

It may be that your account does not have enough permissions. I usually switch to root

滿天的星座

See the official documentation and install it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template