[Doc] Badge (#798)

This commit is contained in:
张敏 2018-03-29 14:24:15 +08:00 committed by GitHub
parent 1c2b45503e
commit f2c99b99f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -2,9 +2,10 @@
### Install
``` javascript
import { Badge } from 'vant';
import { Badge, BadgeGroup } from 'vant';
Vue.use(Badge);
Vue.use(BadgeGroup);
```
### Usage

View File

@ -2,9 +2,10 @@
### 使用指南
``` javascript
import { Badge } from 'vant';
import { Badge, BadgeGroup } from 'vant';
Vue.use(Badge);
Vue.use(BadgeGroup);
```
### 代码演示