当前位置:网站首页>【next】nextjs打包出现组件定义缺少显示名称【Component definition is missing display name】
【next】nextjs打包出现组件定义缺少显示名称【Component definition is missing display name】
2022-06-21 22:26:00 【沉默小管】

解决流程
Component definition is missing display name
组件定义缺少显示名称
在内容里定义名称
const ShowMsgBox: NextPage<any> = (props:any,ref: any) => {
return (
<>1111</>
)
}
//显示的名称
ShowMsgBox.displayName = "ShowMsgBox"
export default ShowMsgBox
个人网站:沉默博客
如有错误,请多多指教。
如对你有帮助,给个赞吧。
边栏推荐
- 编写自己的kubernetes controller
- 张军院士:《无人智群及其社会融合》最新论文,中国工程院院刊
- arm汇编DCB、DCW、DCD、DCQ解析
- Must the database primary key be self incremented? What scenarios do not suggest self augmentation?
- kubernetes code-generator使用
- pytorch可视化
- 被八股文害惨了。。。。
- Npdp| how to do well in product life cycle management?
- metersphere与jenkins的持续集成
- 诚邀 Elastic Stack 开发者成为 CSDN Elastic 云社区管理员
猜你喜欢

Neural networks and support vector machines for machine learning
![[RoarCTF2019]黄金6年](/img/c4/07caf5dc8f27f77b724753b5f87a0a.png)
[RoarCTF2019]黄金6年

pytorch可视化

Hardware development notes (III): basic process of hardware development, making a USB to RS232 module (II): design principle diagram Library

211高校神級碩士論文刷屏!75行字錯了20行!學校回應:導師停招...
![[Database Course Design] classroom information management system based on SQL Server (with part of source code)](/img/7e/47011ee2a35c50669a86fd5cf543d9.png)
[Database Course Design] classroom information management system based on SQL Server (with part of source code)

Layout roadmap, the perfect combination of spatial layout and data visualization

Nearly 90% of servers can be saved, but the anti fraud efficiency has greatly increased. Why is PayPal's plan to break the "Ai memory wall" so cost-effective?

路由器连接上但上不了网是什么故障

En juin, le classement des langues de programmation a été publié et la langue doit être « féodale ».
随机推荐
Unity-网络开发(一)
[pwn basics]pwntools learning
The ranking list of programming languages has been published in June, and this language should be "gods"
How to modify the judgment time of the equipment in the offline state when the national standard equipment is registered on the easycvr platform?
IDA静态逆向分析工具使用详解
Shenzhen Data Analyst Certification (CPDA) in the second half of 2022, [enter to view]
Component value transfer: child components transfer data to parent components
Leetcode-543- diameter of binary tree
Object partition
211高校神級碩士論文刷屏!75行字錯了20行!學校回應:導師停招...
洞見數據價值,啟迪數字未來,《數字化的力量》問世
Cvpr2022 𞓜 loss problem in weakly supervised multi label classification
spacy. load(“en_core_web_sm“)###OSError: [E050] Can‘t find model ‘en_core_web_sm‘.
Taishan Office Technology Lecture: Microsoft YaHei font intentionally set the pit, bold error
渗透测试-逻辑漏洞专题
Mono 的创建
Redis master-slave replication (9)
Fork join thread pool
Flexer series: indexedstack in Flexer
Rk3568 Development Notes (III): update source, installation of network tools, serial port debugging, network connection, file transfer, installation of vscode and Samba shared services for rk3568 virt