not long after I came into contact with vue, I would like to ask why it doesn"t work to import child components in VUE parent components
App.vue parent components
<template>
<div id="app">
<Header></Header>
<router-view/>
</div>
</template>
<script>
import Header from "./components/header.vue"
export default {
name: "App",
component:{
Header
}
}
</script>
header.vue subcomponents
<template>
<el-header>{{title}}</el-header>
</template>
<script>
export default {
name: "header",
data(){
title:""
}
}
</script>
didn"t report an error, but haeder didn"t show it. Did you write something wrong
?