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