[Vue warn]: Do not use built-in or reserved HTML elements as component id: menu

Posted 尔嵘

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Vue warn]: Do not use built-in or reserved HTML elements as component id: menu相关的知识,希望对你有一定的参考价值。

vue页面中一直这个错误警告,这是由于该页面的name命名不正确有关系,记住,name值不能按照以下命名,否则就会报错:

name不能是"header"、"footer"、"menu"

修改代码页面:

export default {
    name: 'menuErRong',
    data() {
    
    }
}

以上是关于[Vue warn]: Do not use built-in or reserved HTML elements as component id: menu的主要内容,如果未能解决你的问题,请参考以下文章

VUE - vue.runtime.esm.js?6e6d:619 [Vue warn]: Do not use built-in or reserved HTML elements as compo

[Vue warn]: Do not use built-in or reserved HTML elements as component id: menu

[Vue warn]: Do not use built-in or reserved HTML elements as component id: menu

vue错误:vue.runtime.esm.js?0261:619 [Vue warn]: Do not use built-in or reserved HTML elements as compo

vue错误:vue.runtime.esm.js?0261:619 [Vue warn]: Do not use built-in or reserved HTML elements as compo

WARNING: Do not use the development server in a production environment. Use a production WSGI server