vue命令

文章目录

    • Options:
    • Commands:
      • create [options]
      • add [options] [pluginOptions]
      • invoke [options] [pluginOptions]
      • inspect [options] [paths...]
      • serve [options] [entry]
      • build [options] [entry]
      • ui [options]
      • init [options]
      • config [options] [value]
      • outdated [options]
      • upgrade [options] [plugin-name]
      • info

Usage: vue [options]

Options:

-V, --version output the version number
-h, --help output usage information

Commands:

create [options]

create a new project powered by vue-cli-service
创建一个新项目搭载VUE-CLI-服务

add [options] [pluginOptions]

install a plugin and invoke its generator in an already created project
安装一个插件并在已创建项目中生成

invoke [options] [pluginOptions]

invoke the generator of a plugin in an already created project
插件在已创建项目中生成

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
在零配置的开发项目中生成?一个.js或.vue文件

build [options] [entry]

build a .js or .vue file in production mode with zero config
在一个零配置的生产模式下构建一个.js或.vue文件

ui [options]

start and open the vue-cli ui 启动并打开VUE-CLI界面

init [options]

generate a project from a remote template (legacy API, requires @vue/cli-init)
从远程模板中生成项目

config [options] [value]

inspect and modify the config
检查和修改配置

outdated [options]

(experimental) check for outdated vue cli service / plugins
检查过时的VUE CLI服务/插件

upgrade [options] [plugin-name]

(experimental) upgrade vue cli service / plugins
升级VUE CLI服务/插件

info

print debugging information about your environment
打印有关环境的调试信息

Run vue --help for detailed usage of given command.

你可能感兴趣的:(vue,vue,命令)