before vue-hljs-with-line-number

This commit is contained in:
2022-05-13 17:58:13 +02:00
parent 8a4a694b86
commit 8fab301419
6 changed files with 35 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
import { ref, provide } from 'vue'
export default {
name: 'TabWrapper',
name: 'TabsGroup',
setup(props, { slots }) {
const tabTitles = ref(slots.default()
.map((tab) => tab.props.title))