[Vue warn]: Do not use built-in or reserved HTML elements as component id: header
一、Vue在引入组件后无法显示组件内容且报错如下:
[Vue warn]: Do not use built-in or reserved HTML elements as component id: header
二、原因是vue里面不允许用特殊的单词给一个组件的注册然后在以自定义标签的方式引用会被限制,比如下图的header
三、解决方案
在component里面注册组件的时候避免用特殊的单词作为组件名;
转载于:https://www.cnblogs.com/l-y-z/p/8445156.html
[Vue warn]: Do not use built-in or reserved HTML elements as component id: header相关推荐
- Vue报错'Do not use built-in or reserved HTML elements as component id:解决方法
vue 在引入组件后无法显示组件内容且报错如下 : Do not use built-in or reserved HTML elements as component id 这是因为组件的命名和ht ...
- 解决 VUE: [Vue warn]: Do not use built-in or reserved HTML elements as component id: xx
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 新增一个组件,运行无问题,但F12报错: vue.esm.js?efeb:591 [Vue w ...
- 解决:vue.esm.js?efeb:591 [Vue warn]: Do not use built-in or reserved HTML elements as component id: me
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 报错如题: vue.esm.js?efeb:591 [Vue warn]: Do not us ...
- Do not use built-in or reserved HTML elements as component id等等vue warn问题
vue开发项目过程中,会出现类似于:Do not use built-in or reserved HTML elements as component id ······的报错,why? 报错截图示 ...
- [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 ...
- Vue报错-[Vue warn]: Unknown custom element: <van-action-sheet> - did you register the component correc
项目场景: 今天在使用到vant组件的时候引入报错. [Vue warn]: Unknown custom element: <van-action-sheet> - did you re ...
- 【 已解决】[Vue warn]:Unknown custom element: <a-calendar> - did you register the component correctly
[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive compon ...
最新文章
- 网络工程师_记录的一些真题_2017下半年上午
- FPGA之道(9)BLOCK RAM以及DSP硬核
- android 安装卸载应用提醒_Android监听程序的安装和卸载
- php的变量、传值、传址、销毁变量
- Oracle EXP/IMP参数详解
- 如何使用 TStringGrid 呈现大量的颜色信息 - 回复 冷公子 的问题
- 学习 Kotlin 的 20 个实用资源
- bootstrap-table初始化配置
- 在安全防火墙内通过 WebHook 触发构建
- ACM算法笔记(一)模拟算法【详细解析】
- 美赛、国赛数学建模优秀范文 O奖、国一
- 打包后的APK文件,微信发送给别人后面出现.apk.1无法安装
- Java第十九天:mysql(二)
- 学习路上遇到的Error1
- Adobe国际认证中文官网
- 简单的扫描枪模拟程序
- 敏涵·精致遮暇乳打造“新国妆”专场 致力新锐品牌强势“出圈”
- 图像识别开源_看看开源图像识别技术
- spring常见漏洞总结
- 【Quant】BigQuant学习笔记(1) 可视化策略
热门文章
- linux c配置文件书写格式,读取配置文件源代码[linux c]
- golang基于UDP完成
- 最大正方形—leetcode221
- 编写ShellCode
- ADO连接ACCESS数据库
- zzuli 2527: THE END IS COMING!!!!!(最小费用最大流)
- 牛客网暑期ACM多校训练营(第二场)D-money (dp)
- 前K个高频元素(top k)(TX)
- rds oracle utl file,本地Oracle数据上传到AWS的RDS
- php 张开收缩显示,js实现可以点击收缩或张开的悬浮窗