ui // 图形化操作界面 create [options] <app-name> create a new project powered by vue-cli-service // 创建一个由vue-cli-service支持的新项目 add <plugin> [pluginOptions] install a plugin and invoke its generator in an already created project // 在已创建的项目中添加插件 invoke <plugin> [pluginOptions] invoke the generator of a plugin in an already created project // 在开发者模式下以零配置运行一个js或vue文件 inspect [options] [paths...] inspect the webpack config in a project with vue-cli-service // 在vue-cli-service的项目中检查webpack配置 serve [options] [entry] serve a .js or .vue file in development mode with zero config // 简单理解为开发环境下启动命令 build [options] [entry] build a .js or .vue file in production mode with zero config // 在生产模式下以零配置构建一个js或vue文件 init <template> <app-name> generate a project from a remote template (legacy API, requires @vue/cli-init) // 旧api 需要@vue/cli-init // 就是原来的vue-cli init <template> <app-name>
? Please pick a preset: Manually select features ? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection) >( ) TypeScript ( ) Progressive Web App (PWA) Support ( ) Router ( ) Vuex ( ) CSS Pre-processors // 是否使用 css 预编译语言 ( ) Linter / Formatter ( ) Unit Testing ( ) E2E Testing