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

16 lines
236 B
Vue
Raw Normal View History

2021-06-30 16:32:22 +00:00
<template>
<div class="p-4">
Custom layout defined with <code>definePageMeta</code>
<br>
2021-06-30 16:32:22 +00:00
<NuxtLink to="/">
Back to home
</NuxtLink>
</div>
</template>
<script>
definePageMeta({
2021-06-30 16:32:22 +00:00
layout: 'custom'
})
2021-06-30 16:32:22 +00:00
</script>