mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Docs: modify doc of Swipe component (#167)
This commit is contained in:
parent
367a23ed48
commit
be62cf4fc5
@ -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);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
Loading…
x
Reference in New Issue
Block a user