首页 > 代码库 > [Vue warn]: Do not use built-in or reserved HTML elements as component id: header

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

技术分享

 

因为header在HTML5里面是个原生的标签,所以在开发的时候会提示错误,解决方法:修改components里面左边的header

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