mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
Doc: add usage guide
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
|
||||
## Button 按钮
|
||||
|
||||
### 使用指南
|
||||
``` javascript
|
||||
import { Button } from 'vant';
|
||||
|
||||
Vue.component(Button.name, Button);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
||||
#### 按钮类型
|
||||
|
Reference in New Issue
Block a user