inleft
2022-02-20 28d46dfc072a13859a5c0bc4901645b77022c7c3
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>