feat: use nuxt layout
This commit is contained in:
13
app/pages/contact.vue
Normal file
13
app/pages/contact.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: false,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLayout name="default">
|
||||
<template #top> </template>
|
||||
|
||||
<template #bottom> </template>
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
17
app/pages/index.vue
Normal file
17
app/pages/index.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: false,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLayout name="default">
|
||||
<template #top>
|
||||
<HomeTopScreen />
|
||||
</template>
|
||||
|
||||
<template #bottom>
|
||||
<HomeBottomScreen />
|
||||
</template>
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
Reference in New Issue
Block a user