本文主要是介绍Unknown custom element: titlebar - did you register the component correctly? For recursive compone,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
编写插件的时候,引用报错:
注册组件时出现问题,最终排查发现是props属性后没有加逗号
Vue.component('stepbar', {props:[""],data: function () {return {}},methods: {},template: `<div class="container"></div>`
})
这篇关于Unknown custom element: titlebar - did you register the component correctly? For recursive compone的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!