test: layouts
parent
261195f4ed
commit
776f93a1d2
@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<App>
|
||||
<Header />
|
||||
|
||||
<div class="flex w-full max-w-3xl flex-col gap-4">
|
||||
<slot name="content" />
|
||||
</div>
|
||||
</App>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
@ -1,3 +1,7 @@
|
||||
<template>
|
||||
<NuxtLayout name="display">
|
||||
<template #content>
|
||||
<p> {{ $route.params.slug }} </p>
|
||||
</template>
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue