mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-10-07 01:09:57 +08:00
fix(cli): incorrect package entry
This commit is contained in:
parent
e98e4e7ced
commit
10b7935977
@ -33,7 +33,7 @@ const components = [
|
|||||||
function install(Vue) {
|
function install(Vue) {
|
||||||
components.forEach(item => {
|
components.forEach(item => {
|
||||||
if (item.install) {
|
if (item.install) {
|
||||||
Vue.use(Component);
|
Vue.use(item);
|
||||||
} else if (item.name) {
|
} else if (item.name) {
|
||||||
Vue.component(item.name, item);
|
Vue.component(item.name, item);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user