vue组件报错:
vue2.js?v=2.5.17:618 [Vue warn]: Unknown custom element: <bo-jobgoods-detail> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in <Root>)
第一种情况:首先你要想到的是有没有引入你这个组件的js如果没引入vue也会报这个错的
第二种情况:
子组件:
父组件引用:
改成这样:
原因:给组件命名方式不对 来看看官方命名介绍
https://cn.vuejs.org/v2/guide/components-registration.html