17.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: XX”错误

错误原因是:定义组件名称和HTML内置标签一样了,更改组件名称即可。

image.png

你可能感兴趣的:(17.Vue引入自定义组件时报"Do not use built-in or reserved HTML elements as component id: "错误)