Nuxt/examples/routing/layouts/pages/index.vue

18 lines
423 B
Vue

<template>
<NuxtExampleLayout example="routing/layouts">
<template #nav>
<nav class="flex align-center gap-4 p-4">
<NuxtLink to="/default">
Default layout
</NuxtLink>
<NuxtLink to="/custom">
Custom layout
</NuxtLink>
<NuxtLink to="/dynamic">
Dynamic layout
</NuxtLink>
</nav>
</template>
</NuxtExampleLayout>
</template>