问题截图

组件嵌套

AppMyComponentADifferentComponentMyComponent

问题原因

这里的问题是,MyComponent既是它自己的父组件,又是它自己的子组件。这将使Vue陷入一个循环,每个组件都依赖于另一个组件。

解决方案

  components:{'feed-item': ()=> import('./FeedItem.vue')}

参考地址

https://stackoverflow.com/questions/49154490/did-you-register-the-component-correctly-for-recursive-components-make-sure-to

Vue did you register the component correctly? For recursive components,make sure to provide the name相关推荐

  1. Vue报错------did you register the component correctly? For recursive components, make sure to provide

    今天在开发项目的时候遇到很大坑.项目报错did you register the component correctly? For recursive components, make sure to ...

  2. 异常 did you register the component correctly? For recursive components, make sure to provide the “nam

    1.vue项目使用抽屉组件时候报错did you register the component correctly? For recursive components, make sure to pr ...

  3. did you register the component correctly? For recursive components, make sure to provide the “name“

    问题回溯: 这里组件中引用自身[递归组件]时,报错did you register the component correctly? For recursive components, make su ...

  4. 解决:id you register the component correctly? For recursive components, make sure to provide the “name

    引用一个组件报错:

  5. vue注入组件时报错:did you register the component correctly? For recursive components......

    报错信息: vue.runtime.esm.js?2b0e:619 [Vue warn]: Unknown custom element: - did you register the compone ...

  6. vue出现您是否正确注册了组件? 对于递归组件,请确保提供“名称”选项。或者you register the component correctly? For recursive components

    XXX - did you register the component correctly? For recursive components, make sure to provide the & ...

  7. 关于报错Unknown custom element:did you register the component correctly? For recursive components的解决方式

    报错: [Vue warn]: Unknown custom element: <d01-person-thing> - did you register the component co ...

  8. 控制台报错element: <Goods> - did you register the component correctly? For recursive components, make sur

    element: - did you register the component correctly? For recursive components, make sure to provide ...

  9. vue启动时报错——did you register the component correctly? For recursive components

    原来是因为我的组件大小写开头混了,我在template中写的是小写开头的batchnumSelect,但是注册的时候是注册成大写开头,所以导致报错 解决:改成一致即可

最新文章

  1. 如何使用 Istio 进行多集群部署管理(一)
  2. 为什么大家都在吹捧Python?
  3. 9适应之力加多少攻击_剑盾铠之孤岛DLC新增内容大全! 宝可梦史上第一款DLC到底香不香(含试玩视频)...
  4. Linux下nginx安装与配置
  5. 贾跃亭成了,FF 91预量产车下线完成
  6. 12-Java读写CSV格式文件(opencsv)
  7. oj运行时错误_FME服务器链接运行时错误(由于缺少适当的权限,用户未授权的请求)...
  8. 谷歌地图地名显示繁体字_谷歌地图怎么把字去掉
  9. Matlab中_pkg.exe,windows系统如何打开pkg|windows打开pkg文件包的方法
  10. python输入两个数 求和_Python两数相加
  11. 工控ARM板登陆、wifi连接
  12. coffeescript html5,CoffeeScript语法
  13. 罗格斯的计算机科学,罗格斯大学计算机科学研究生申请截止日期
  14. 手串 如何挑选手串 什么是小叶紫檀?小叶紫檀怎么保养 小叶紫檀怎么盘法
  15. 2022金三银四前端面试题预告
  16. 易优CMS:user 登录注册入口标签
  17. stm32f0 大小端_STM32F0系列Cortex-M0原理与实践
  18. 一位中科院自动化研究所博士的毕业论文致谢:求学22载,计算机终成一生的事业与希望...
  19. 前途未卜的智能音箱,语音助手还差一个杀手级应用
  20. 隔离简史:人类的无形长城

热门文章

  1. 项目总估值从70亿到150多亿,成功运营首期的腾讯AI加速器正招募第二期
  2. 北京信息科技大学第十一届程序设计竞赛(重现赛)
  3. 为了给YiYi节省时间,写了个能自动拼图贴水印的机器人,很多bug,能用就行。
  4. 老铁,你这什么键盘布局? 当然是Colemak
  5. 坚持系统观念 推动综合交通统筹融合发展
  6. 不止能看还能聊, 社交电视定义全新社交生活方式
  7. 蓝桥杯国赛 勾股定理
  8. Shader学习23——描边+辉光
  9. php curl调用第三方接口小样
  10. Windows 2003服务器集群安装图解