[Vue warn]: Do not use built-in or reserved HTML elements as component id:
来源:互联网 发布:linux daemon 作用 编辑:程序博客网 时间:2024/04/29 12:10
vue.runtime.esm.js:472 [Vue warn]: Do not use built-in or reserved HTML elements as component id: main
在引用vuejs 组件的时候出现了这错误,
这个句话翻译下来就是:
不能使用内置或者保留的HTML或者组件作为组件id
意思就是你使用的组件名的名称跟系统(vue)的内置属性名冲突了,所以创建失败,最好的方法就是换个名字。
阅读全文
0 0
- [Vue warn]: Do not use built-in or reserved HTML elements as component id:
- vue引入组件无法下你是且报错[Vue warn]: Do not use built-in or reserved HTML elements as component id: header
- [Vue warn]: Failed to mount component: template or render function not defined. (found in root insta
- Do not mount Vue to <html> or <body>
- Do not mount Vue to <html> or <body>
- [Vue warn]: Attribute "id" is ignored on component <div> because the component is a fragment instan
- Vue2+Webpack错误:Do not mount Vue to <html> or <body>
- vue2.0错误:Do not mount Vue to <html> or <body>
- use this as the default and do not ask again
- Fatal error: Cannot use 'Object' as class name as it is reserved in xxx/Object.php on line 77
- make sure other views do not use the same id .....
- 完美解决#define _AFXDLL or do not use /MD[d]
- Component In Common Use
- Why do people use enums in C++ as constants while they can use const?
- Use openCV lib in either Pre-built libraries or yourself build libs
- Pycharm idea 报警告:This inspection detects shadowing built-in names, such as 'len' or 'list'
- 报 This inspection detects shadowing built-in names, such as 'len' or 'list'
- INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)的解决
- HDU 1789-Doing Homework again
- Java String 类
- (综合)xorg-xserver相关完全解析
- [Redis学习笔记]-ubuntu下安装Redis
- 【spark 大数据处理技术】
- [Vue warn]: Do not use built-in or reserved HTML elements as component id:
- java基础2(初学者)
- 二叉树实现
- bzoj2004 Bus公交路线
- 圆形进度条调用二维码(展示阶梯矩形图案)
- 习题2-4 子序列的和(subsequence)
- hiho 1620 股票价格3 [Offer收割]编程练习赛34 Problem B 单调栈
- 吃巧克力
- Eclipse+ADT+Android SDK 搭建安卓开发环境