Nuxt/examples/with-layouts/pages/index.vue

21 lines
326 B
Vue
Raw Normal View History

2021-06-30 16:32:22 +00:00
<template>
<div>
Welcome to Nuxt Layouts 👋
<NuxtLink to="/manual">
Manual layout
</NuxtLink>
<NuxtLink to="/same">
Same layout
</NuxtLink>
</div>
</template>
<script>
import { defineNuxtComponent } from '@nuxt/app'
export default defineNuxtComponent({
layout: 'custom'
})
</script>