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