The problem of writing in html introduced by vue component

1, generally our tag in html is xx-xx rather than xxXx"s small hump
2, I can change the tag writing method when registering in components, but it cannot be written as xx-xx when registering locally, I would like to ask how to write xx-xx mode when introducing global components?

this is the label for locally registered xx-xx

clipboard.png

clipboard.png

Mar.11,2022

Vue.use is the install function in the called confirmPopup, so you have to see for yourself how to register this component in this function. The true global registration should be Vue.component ('xxx',confirmPopup)


   

.
Menu