Ask for help, a project generated by vue-cli, encountered a problem when using iview

webpack,iview are new to each other.

as shown in the figure, Closing tag matches nothing is reported when using the tag < Input > in the vue single file component. For some reason, using a prefixed tag will not report an error. I hope Daniel will give me some advice.

Mar.18,2021

1. First, where did you define this Input
2. Second, there is no use of embedded tags in input, and there is no good semantics


it's not a component problem, it's a development tool problem that recognizes < Input > as < input > and asks you to close the tag, so all you have to do is close the tag. Eg:

< Input v placeholder= model = "value" placeholder= "Please enter.": maxlength= "10" / >

remove the back < / Input > close the front

Menu