Nuxt/test/fixtures/basic/pages/internal-layout.vue

16 lines
242 B
Vue
Raw Permalink Normal View History

<script setup lang="ts">
definePageMeta({
layout: false
})
const route = useRoute()
</script>
<template>
<div>
<NuxtLayout :name="route.meta._layout as string || 'default'">
<NuxtPage />
</NuxtLayout>
</div>
</template>