Vue did you register the component correctly? For recursive components,make sure to provide the name
问题截图
组件嵌套
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相关推荐
- 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 ...
- 异常 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 ...
- 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 ...
- 解决:id you register the component correctly? For recursive components, make sure to provide the “name
引用一个组件报错:
- 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 ...
- vue出现您是否正确注册了组件? 对于递归组件,请确保提供“名称”选项。或者you register the component correctly? For recursive components
XXX - did you register the component correctly? For recursive components, make sure to provide the & ...
- 关于报错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 ...
- 控制台报错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 ...
- vue启动时报错——did you register the component correctly? For recursive components
原来是因为我的组件大小写开头混了,我在template中写的是小写开头的batchnumSelect,但是注册的时候是注册成大写开头,所以导致报错 解决:改成一致即可
最新文章
- 如何使用 Istio 进行多集群部署管理(一)
- 为什么大家都在吹捧Python?
- 9适应之力加多少攻击_剑盾铠之孤岛DLC新增内容大全! 宝可梦史上第一款DLC到底香不香(含试玩视频)...
- Linux下nginx安装与配置
- 贾跃亭成了,FF 91预量产车下线完成
- 12-Java读写CSV格式文件(opencsv)
- oj运行时错误_FME服务器链接运行时错误(由于缺少适当的权限,用户未授权的请求)...
- 谷歌地图地名显示繁体字_谷歌地图怎么把字去掉
- Matlab中_pkg.exe,windows系统如何打开pkg|windows打开pkg文件包的方法
- python输入两个数 求和_Python两数相加
- 工控ARM板登陆、wifi连接
- coffeescript html5,CoffeeScript语法
- 罗格斯的计算机科学,罗格斯大学计算机科学研究生申请截止日期
- 手串 如何挑选手串 什么是小叶紫檀?小叶紫檀怎么保养 小叶紫檀怎么盘法
- 2022金三银四前端面试题预告
- 易优CMS:user 登录注册入口标签
- stm32f0 大小端_STM32F0系列Cortex-M0原理与实践
- 一位中科院自动化研究所博士的毕业论文致谢:求学22载,计算机终成一生的事业与希望...
- 前途未卜的智能音箱,语音助手还差一个杀手级应用
- 隔离简史:人类的无形长城