vux
vux copied to clipboard
umd 分组件引用,出现Failed to mount component: template or render function not defined。望哪位大佬告知原因
根据官方umd构建https://doc.vux.li/zh-CN/install/umd.html。官方本身demo,umd_component_include_single.html也报组件渲染错误。
根据官方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)
这样就可以了