mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
fix(cli): incorrect package entry
This commit is contained in:
@@ -33,7 +33,7 @@ const components = [
|
||||
function install(Vue) {
|
||||
components.forEach(item => {
|
||||
if (item.install) {
|
||||
Vue.use(Component);
|
||||
Vue.use(item);
|
||||
} else if (item.name) {
|
||||
Vue.component(item.name, item);
|
||||
}
|
||||
|
Reference in New Issue
Block a user