mirror of
https://github.com/youzan/vant.git
synced 2026-05-16 01:07:43 +08:00
[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
``` javascript
|
||||
import { Step, Steps } from 'vant';
|
||||
|
||||
Vue.component(Step.name, Step);
|
||||
Vue.component(Steps.name, Steps);
|
||||
Vue.use(Step);
|
||||
Vue.use(Steps);
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
Reference in New Issue
Block a user