Skip to content

Commit 2ae64ae

Browse files
author
Gary Woodfine
committed
feat(playground): enhance index.vue with UContainer layout
- Added `UContainer` wrapper to improve page structure and consistency. - Updated `CommentCommandBar` to include `ref` import for future state management.
1 parent 17a2952 commit 2ae64ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

playground/app/pages/index.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33

44
<template>
55
<nuxt-layout name="default-layout">
6+
<UContainer>
67
<h1>Playground</h1>
78
<p>Index Page</p> <nuxt-link
89
to="another-page"
910
class="text-primary"
1011
> Another Page</nuxt-link>
1112
<NuxstrComments />
13+
</UContainer>
1214
</nuxt-layout>
1315
</template>
1416

src/runtime/components/CommentCommandBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { useNuxstr } from '../composables/useNuxstr'
33
import { useReplies } from '../composables/useReplies'
4-
import { onMounted } from 'vue'
4+
import { onMounted, ref } from 'vue'
55
66
const props = defineProps<{ contentId: string }>()
77
const { replies, subscribeReplies } = useReplies(props.contentId)

0 commit comments

Comments
 (0)