vux icon indicating copy to clipboard operation
vux copied to clipboard

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

Open ttangtang5 opened this issue 5 years ago • 1 comments

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

ttangtang5 avatar Oct 30 '19 07:10 ttangtang5

根据官方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)

这样就可以了

ACCia avatar Jan 02 '20 05:01 ACCia