Unknown custom element: - did you register the component correctly? For recursive components, make s

Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

  • 说没有找到这个模块

说没有找到这个模块

很烦,这么容易的总是不记得哦。

子模块:export default {};
父模块:import Index from “./Index.vue” 并且要在export default {}里面注册components:{
Index
}

你可能感兴趣的:(vue)