wrap tabs in app bar

This commit is contained in:
Gauthier Roebroeck 2026-01-09 14:21:06 +08:00
parent a43448e211
commit ffdd330ed4

View file

@ -1,12 +1,18 @@
<template>
<v-tabs :items="routes">
<template #tab="{ item: route }">
<v-tab
:text="route.title"
:to="route.to"
/>
</template>
</v-tabs>
<v-app-bar>
<v-tabs
:items="routes"
center-active
grow
>
<template #tab="{ item: route }">
<v-tab
:text="route.title"
:to="route.to"
/>
</template>
</v-tabs>
</v-app-bar>
</template>
<script setup lang="ts">