what is the role of the name property when novice vueci,vue components register
export default {
name: "m-head",//name
data () {
return {
name:""
}
},
}
however, when using
< H2 > js: < / H2 >import Head from "./components/Head"
export default {
name: "App",
data () {
return {
name:"App"
}
},
components: {
new-head:Head // name
}
}
< H2 > html < / H2 >
<new-head></new-head>