From 98584ef7b7306e48453a6433633d9f063cb46c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Thu, 16 Jan 2020 20:10:28 +0800 Subject: [PATCH] docs(cli): add intro of create-vant-cli-app --- packages/vant-cli/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/vant-cli/README.md b/packages/vant-cli/README.md index cfb72bf54..a099549e3 100644 --- a/packages/vant-cli/README.md +++ b/packages/vant-cli/README.md @@ -9,6 +9,14 @@ Vant Cli 是一个 Vue 组件库构建工具,通过 Vant Cli 可以快速搭 - 内置 ESlint、Stylelint 校验规则,提交代码时自动执行校验 - 构建后的组件库默认支持按需引入、主题定制、Tree Shaking +### 快速上手 + +执行以下命令可以快速创建一个基于 Vant Cli 的项目: + +```bash +npx create-vant-cli-app +``` + ### 安装 ```shell