vue-fragment icon indicating copy to clipboard operation
vue-fragment copied to clipboard

Cannot wrap around multiple <v-tab-item>s

Open vegerot opened this issue 5 years ago • 0 comments

file1.vue

<template>
<v-tabs
    v-model="sidebarTabs"
    ...
>
  <v-tab
    href="#maint-tab"
    ...
  >
    ...
  </v-tab>
  <sidebar-tab />
</v-tabs>
</template>

SidebarTab.vue

<fragment>
  <v-tab-item value="maint-tab">
    ...
  </v-tab-item>

  <v-tab-item value="maint-tab">
    ...
  </v-tab-item>
</fragment>
</template>

When trying to run this code I get

[Vuetify] The v-window-item component must be used inside a v-window

and my tab-items don't show

vegerot avatar Mar 09 '20 20:03 vegerot