mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(app): display icon in navigation for ui-pro components
This commit is contained in:
@@ -80,7 +80,13 @@ defineShortcuts({
|
||||
<FrameworkSelect />
|
||||
</div>
|
||||
|
||||
<UContentNavigation :navigation="navigation" highlight />
|
||||
<UContentNavigation :navigation="navigation" highlight>
|
||||
<template #link-title="{ link }">
|
||||
{{ link.title }}
|
||||
|
||||
<UIcon v-if="link.module === 'ui-pro' && link.path.startsWith('/components')" name="i-lucide-boxes" class="size-3 align-middle mb-[3px] text-(--ui-text-dimmed)" />
|
||||
</template>
|
||||
</UContentNavigation>
|
||||
</template>
|
||||
</UHeader>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user