Skip to content

Commit 73cde5a

Browse files
committed
refactor: replace nuxt-page with slot in layout components
- Updated layout files (default.vue, empty.vue, simple-centered.vue) to replace the nuxt-page component with a slot for improved flexibility in content rendering.
1 parent 6f86830 commit 73cde5a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/web/src/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ q-layout(view="hHh LpR lff" style="margin-top: -1px;")
33
sesame-layouts-default-appbar
44
sesame-layouts-default-drawer
55
q-page-container.full-height
6-
nuxt-page
6+
slot
77
q-dialog(seamless v-model="eventSeamless" position="bottom")
88
q-card(style="width: 350px")
99
q-linear-progress(:value="eventSeamlessProgress" color="amber-9")

apps/web/src/layouts/empty.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template lang="pug">
22
q-layout(view="hHh LpR lff" style="margin-top: -1px;")
33
q-page-container
4-
nuxt-page
4+
slot
55
</template>
66

77
<script lang="ts">

apps/web/src/layouts/simple-centered.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ q-layout(view="lHh Lpr fff")
44
q-page.window-height.window-width.row.justify-center.items-center(
55
:style-fn="getStyle"
66
)
7-
nuxt-page
7+
slot
88
q-fab.absolute(
99
style="bottom: 16px; right: 16px;"
1010
color="primary"

0 commit comments

Comments
 (0)