<scriptsetup>import { ref } from'vue'constitems=[{ name:'Panel1'},{ name:'Panel2'},{ name:'Panel3'}]constactiveItem=ref('Panel1')</script><template><c-tabsv-model="activeItem" :items="items" ><template #body-Panel1> The content of panel 1</template><template #body-Panel2> The content of panel 2</template><template #body-Panel3> The content of panel 3</template></c-tabs></template>