Doc: add usage guide

This commit is contained in:
陈嘉涵
2017-08-21 10:56:27 +08:00
parent cbe5ad30cf
commit fa9b879338
24 changed files with 177 additions and 11 deletions

View File

@@ -10,6 +10,14 @@ export default {
## Cell 单元格
### 使用指南
``` javascript
import { Cell, CellGroup } from 'vant';
Vue.component(Cell.name, Cell);
Vue.component(CellGroup.name, CellGroup);
```
### 代码演示
#### 基础用法