vux umd 分组件引用,出现Failed to mount component: template or render function not defined。望哪位大佬告知原因

gmxoilav  于 9个月前  发布在  其他
关注(0)|答案(1)|浏览(117)
vmdwslir

vmdwslir1#

根据官方umd重建 https://doc.vux.li/zh-CN/install/umd.html。官方内部demo,umd_component_include_single.html也报组件渲染错误。

Vue.component('group', vuxGroup.default)
Vue.component('cell', vuxCell.default)

这样就可以了

相关问题