mkdir test //新建一个文件夹cd test//进入文件目录npm -v //npm 版本npm install -g @vue/clivuenpm install -g @vue/cli-initvue init webpack .npm run dev//进入