inleft
2022-08-19 8ec9c517c58b70918f2d72f2bfa6ab4b0a4145f9
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>