1、新建文件夹,在文件夹中,按住shift键,右击打开windows PowerShell
2、输入命令 vue init webpack myvue ,这里myvue是vue项目名
Project name myvue,按回车
Project description (A Vue.js project) 按回车
Author 作者的意思,随便输入一个名字
上下键进行选择,这里选第一个,回车
Install vue-router? 这里填入 y (是否安装vue-router)
Use ESLint to lint your code? 这里填 y (是否使用ESLint)
Set up unit tests? 这里填 y (是否使用单元测试)
Setup e2e tests with Nightwatch? 这里填 y (是否使用e2e测试)
Should we run `npm install` for you after the project has been created? (recommended) 直接回车 (项目创建完成后,是否执行 npm install这条命令)