当前位置:网站首页>did you register the component correctly
did you register the component correctly
2022-07-23 19:27:00 【星汉空兮】
报错详情
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 导入组件时,引用位置错误
边栏推荐
- Leetcode 228. 汇总区间(可以,已解决)
- Task03 | return
- 使用Jmeter和VisualVW进行压测准备
- 能量原理与变分法笔记17:广义变分原理(识别因子方法)
- 121. 买卖股票的最佳时机
- [激光器原理与应用-8]: 激光器电路的电磁兼容性EMC设计
- Leetcode - the nearest sum of three numbers
- task03笔记2
- 2022 Shandong elderly care exhibition, China International elderly care service industry exhibition, Jinan elderly care industry exhibition
- Adobe Acrobat two powerful plug-ins
猜你喜欢

梅科尔工作室-小熊派开发笔记3

搭建自己的目标检测环境,模型配置,数据配置 MMdetection

编译器LLVM-MLIR-Intrinics-llvm backend-instruction

链表——203. 移除链表元素

BM14 链表的奇偶重排

Leetcode 152. 乘积最大子数组(暴力破解居然可以通过!)

Energy principle and variational method note 15: solution of differential element method

干货!神经网络中的隐性稀疏正则效应

AtCoder——Subtree K-th Max

Model loading of assimp Library under QT
随机推荐
干货!神经网络中的隐性稀疏正则效应
Leetcode 238. product of arrays other than itself
QT with OpenGL (frame cache)
非局部均值滤波(NON-LOCAL-mean)/注意力机制
Osgearth2.8 compiling silvering cloud effect
ant接口用什么天线_电视后面有个接口写的是 标准ANT 75 欧输入,请问是什么意思,是天线吗?可不可以接闭路线啊?…「建议收藏」
使用多态时,判断能否向下转型的两种思路
[深入研究4G/5G/6G专题-40]: URLLC-11-《3GPP URLLC相关协议、规范、技术原理深度解读》-5-5G Qos原理与架构: 切片、PDU会话、QosFlow、5QI、DRB
Prepare for pressure test with JMeter and visualvw
task03笔记2
2022上半年中国十大收缩行业
梅科尔工作室-华为14天鸿蒙设备开发实战笔记四
链表——203. 移除链表元素
2022 Shandong elderly care exhibition, China International elderly care service industry exhibition, Jinan elderly care industry exhibition
Leetcode 152. product maximum subarray (brute force cracking can actually pass!)
梅科爾工作室-小熊派開發筆記2
What if redis breaks down?
深入浅出边缘云 | 1. 概述
Configure MySQL master-slave replication with mysqldump or mydumper
[untitled]