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,7 +4,7 @@
|
||||
``` javascript
|
||||
import { Loading } from 'vant';
|
||||
|
||||
Vue.component(Loading.name, Loading);
|
||||
Vue.use(Loading);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
||||
Reference in New Issue
Block a user