mirror of
https://github.com/youzan/vant.git
synced 2025-12-18 02:06:02 +08:00
Doc: add usage guide
This commit is contained in:
@@ -10,6 +10,14 @@ export default {
|
||||
|
||||
## Cell 单元格
|
||||
|
||||
### 使用指南
|
||||
``` javascript
|
||||
import { Cell, CellGroup } from 'vant';
|
||||
|
||||
Vue.component(Cell.name, Cell);
|
||||
Vue.component(CellGroup.name, CellGroup);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
||||
#### 基础用法
|
||||
|
||||
Reference in New Issue
Block a user