1.Project name :项目名称,如果为我们init的项目名直接回车(此处项目名不能使用大写)
2.Project description:项目描述,如果不需要直接回车
3.Author :作者
4.vue build 构建方式 两个选择 第1个是完整版的 第2个是阉割版的(建议使用1)
1).Runtime + Compiler:recommended for most users(译:运行+编译:被推荐给大多数用户)
2).Runtime-only:about 6KB lighter min+gzip,but templates (or any Vue-specific HTML) are ONLYallowed in .vue files-render functions are required elsewhere
(译:只运行大约6KB比较轻量的压缩文件,但只允许模板(或任何VUE特定HTML)。VUE文件需要在其他地方呈现函数。翻译不精准,意思大概是选择该构建方式对文件大小有要求)
5.install vue-router?是否安装vue的路由插件,需要就选y,否则就n(建议安装)
6.Use ESLint to lint your code?是否使用ESLint检查你的代码是否规范(不懂的不建议安装)
7.Pick an ESLint preset:选择分支风格
1.standard(https://github.com/feross/standard) js的标准风格
2.Airbnb(https://github.com/airbnb/javascript) JavaScript最合理的方法,这个github地址说是JavaScript最合理的方法
3.none (configure it yourself) 自己配置
8.Set up unit tests? 是否安装单元测试(无必要不建议安装)
Pick a test runner 选择一个单元测试运行器
1.Jest(Jest是由Facebook发布的开源的、基于Jasmine的JavaScript单元测试框架)
2.Karma and Mocha
3.none
9.Setup e2e tests with Nightwatch(Y/n)?是否安装E2E测试框架NightWatch(E2E,也就是End To End,就是所谓的“用户真实场景”。)(无必要不建议安装)
10.Should we run ‘npm install’ for you after the project has been created?项目创建后是否要为你运行“npm install”?这里选择包管理工具(第一个)
yes,use npm(使用npm)
yes,use yarn(使用yarn)
no,I will handle that myself(自己配置安装包)