The basic components are created
1: Create a sub-assembly path src / components / demo / childZJ.vue
2: parent element incorporated subassembly note path where the path is not wrong path relative
import child from '../../components/demo/child'
components: {child} // Register subassembly
<Child> </ child> // use subassembly