mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
Docs: modify doc of Swipe component (#167)
This commit is contained in:
@@ -37,9 +37,10 @@ export default {
|
||||
|
||||
### 使用指南
|
||||
``` javascript
|
||||
import { Swipe } from 'vant';
|
||||
import { Swipe, SwipeItem } from 'vant';
|
||||
|
||||
Vue.component(Swipe.name, Swipe);
|
||||
Vue.component(SwipeItem.name, SwipeItem);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
Reference in New Issue
Block a user