[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
``` javascript
|
||||
import { PullRefresh } from 'vant';
|
||||
|
||||
Vue.component(PullRefresh.name, PullRefresh);
|
||||
Vue.use(PullRefresh);
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
Reference in New Issue
Block a user