Skip to content

Commit ccc1340

Browse files
committed
fix(app): allow content navigation variant override
1 parent 246c16a commit ccc1340

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/app/app.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export default defineAppConfig({
1919
},
2020
},
2121
},
22+
defaultVariants: {
23+
variant: 'link',
24+
},
2225
},
2326
pageLinks: {
2427
slots: {

app/app/layouts/docs.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const navigation = inject<Ref<ContentNavigationItem[]>>('navigation')
1313

1414
<UContentNavigation
1515
highlight
16-
variant="link"
1716
:navigation="navigation"
1817
/>
1918
</UPageAside>

0 commit comments

Comments
 (0)