did you register the component correctly
报错详情
Unknown custom element: < money-check > - did you register the component correctly? For recursive components, make sure to provide the “name” option
原因分析
博主遇到的问题如下:
import 导入子组件的时候,不能使用 {} 包括起来,如:
import { MoneyCheck } from './components/MoneyCheck'
解决方式
正确导入子组件,如:
import MoneyCheck from './components/MoneyCheck'
附
列举其他几种可能原因
components
拼写错误- import 导入组件时,引用位置错误
did you register the component correctly相关推荐
- 解决:Unknown custom element: <myData> - did you register the component correctly? For recursive compon
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 引用一个组件报错: Unknown custom element: <myData> ...
- Vue报错:Unknown custom element: router-view - did you register the component correctly页面中不显示链接
Vue报错:Unknown custom element: router-view - did you register the component correctly vue-router应用到组件 ...
- 报错,Unknown custom element: <DeviceVendorStatistics> - did you register the component correctly? For
问题: vue-router.esm.js?85f8:2100 Uncaught (in promise) undefined eval @ vue-router.esm.js?85f8:2100 a ...
- [Vue warn]: Unknown custom element: <Top> - did you register the component correctly?
[Vue warn]: Unknown custom element: - did you register the component correctly? 错误如下: 出现错误的原因有以下几种: ...
- [Vue warn]: Unknown custom element: <helptext> - did you register the component correctly? For recu
报错信息: vue.js:634 [Vue warn]: Unknown custom element: - did you register the component correctly? For ...
- 解决[Vue warn]: Unknown custom element: <ag> - did you register the component correctly? For recursive
[Vue warn]: Unknown custom element: <ag> - did you register the component correctly? For recur ...
- 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 ...
- 报错Unknown custom element: <组件名> - did you register the component correctly?的原因及解决办法
报错Unknown custom element: <组件名> - did you register the component correctly?的原因及解决办法 问题 原因 解决(第 ...
- 报错#vue-router#unknown custom element: <router-link> - did you register the component correctly?
报错截图: 报错信息: [Vue warn]: Unknown custom element: - did you register the component correctly? For recu ...
- 关于报错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 ...
最新文章
- MySQL数据库的终结_MySQL数据库秘籍终结 对不起了 让你们自宫了 其实不消哈哈哈...
- Flexbox弹性盒模型
- sass 安装配置和使用
- Docker 原理、学习教程
- django配置在MySQL_怎么在Django中安装与配置mysql
- 基于边缘计算的森林火警监测系统
- 解决Xshell无法连接虚拟机CentOS7问题
- 一张图看懂hadoop
- (笔记)VC6插件安装(VC6LineNumberAddin)
- 第二十节:Scrapy爬虫框架之使用Pipeline存储
- 本特利传感器330103-00-05-10-02-00
- 单片机——仿真软件Proteus基本使用教程
- Excel中表单控件和ACTIVEX控件主要区别
- linux设置双屏拼接_双屏、3屏拼接——A卡、N卡——Windows、Linux
- 大数据平台的元数据管理
- win10锁屏c语言,Win10锁屏状态怎么设置打开任意应用程序?
- python实现抢票github_面向回家编程!GitHub标星两万的”Python抢票教程”,我们先帮你跑了一遍...
- html5 渐变动画效果图,html5+css3城市场景动画_觉唯设计
- 今日头条还可以引流么?今日头条引流效果怎么样?
- 解决VS编译中文报错 error C2001:常量中有换行符