Docs: modify doc of Swipe component (#167)

This commit is contained in:
Olaf Cheng
2017-09-30 04:26:20 -05:00
committed by Yao
parent 367a23ed48
commit be62cf4fc5
+2 -1
View File
@@ -37,9 +37,10 @@ export default {
### 使用指南 ### 使用指南
``` javascript ``` javascript
import { Swipe } from 'vant'; import { Swipe, SwipeItem } from 'vant';
Vue.component(Swipe.name, Swipe); Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
``` ```
### 代码演示 ### 代码演示