The vue component uses an attribute name expression to report an error

< H2 > as shown in the picture, it"s annoying, and eslint can"t find the corresponding setting < / H2 >.

clipboard.png

clipboard.png

clipboard.png

Mar.13,2022

it is estimated that it is a bug,. Maybe vue thinks the component name you registered is [Button.name], but in fact [Button.name] is parsed to 'van-button',], so an error is reported.
just add 'vue/no-unused-components':' off' to the rules of eslint and disable this eslint rule.


this error means that the name of some component is already registered . Line 18 of
is suspicious . If the value of Button.name is lowercase "button" , it conflicts with the normal button tag, so an error is reported.
it is recommended to print out all the Button.name,Swipe.name,SwipeItem.name to see which signature conflicts occur


SwipeItem.name this component has been registered but not used, so an error has been reported. You can delete or comment out this component SwipeItem.name directly, and add

when you use it.
Menu