inleft
2022-01-16 aab8119ad66583d65d517e2eb8e574b8794180c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<template>
    <div>
        <ChildA/>
        <ChildB/>
    </div>
</template>
 
<script>
    import ChildA from './childA' // 导入A组件
    import ChildB from './childB' // 导入B组件
 
    export default {
        components: {
            ChildA,
            ChildB
        } // 注册A、B组件
    }
</script>