Skip to content

New VUE component based off of Q-Tabs #11669

Discussion options

You must be logged in to vote

make an invisible wrapper.

<!-- wrapper -->
<template>
  <q-tabs>
    <template v-for="(_, slot) of $slots" v-slot:[slot]="scope">
      <slot :name="slot", v-bind="scope || {}"/>
    </template>
  </q-tabs>
<template>
<!-- parent -->
<template>
  <wrapper>
    <q-tab></q-tab>
  </wrapper>
<template>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mtn090899
Comment options

@Dirk-
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by metalsadman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants