Skip to content

Commit 9acc755

Browse files
committed
fix(app): display page links in header
1 parent a511b50 commit 9acc755

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/app/pages/[...slug].vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,19 @@ const editLink = computed(() => {
6464
<UPageHeader
6565
:title="page.title"
6666
:description="page.description"
67-
:links="page.links"
6867
:headline="headline"
6968
:ui="{
7069
wrapper: 'flex-row items-center flex-wrap justify-between',
7170
}"
7271
>
7372
<template #links>
73+
<UButton
74+
v-for="(link, index) in page.links"
75+
:key="index"
76+
size="sm"
77+
v-bind="link"
78+
/>
79+
7480
<DocsPageHeaderLinks />
7581
</template>
7682
</UPageHeader>

0 commit comments

Comments
 (0)