vue命令


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.

發佈了14 篇原創文章 · 獲贊 1 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章