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
+8 -1
View File
@@ -28,7 +28,14 @@
## Layout 布局
主要提供了`van-row``van-col`两个组件来进行行列布局。
提供了`van-row``van-col`两个组件来进行行列布局。
### 使用指南
``` javascript
import { Layout } from 'vant';
Vue.component(Layout.name, Layout);
```
### 代码演示