$ vue -V bash: vue: command not found
意思大概就是没有vue这个命令。这种情况在系统设置中配置一下环境变量就好了
然后关闭之前的命令窗口,重新打开,vue命令就有效了