1、报错:
Failed to resolve component: home-product
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
2、翻译:解析home-product组件失败
3、原因:home-product组件在定义组件名字的时候没有用驼峰命名
4、解决方法
homeproduct组件名字改为:homeProduct
如果觉得《vue--组件解析报错问题》对你有帮助,请点赞、收藏,并留下你的观点哦!