feat(theme): allow passing html in nav links

closes #1652
pull/2736/head
Divyansh Singh 1 year ago
parent 0c9dd1fccb
commit 69251b7484

@ -39,7 +39,7 @@ function onBlur() {
>
<span v-if="button || icon" class="text">
<component v-if="icon" :is="icon" class="option-icon" />
{{ button }}
<span v-html="button"></span>
<VPIconChevronDown class="text-icon" />
</span>

@ -26,7 +26,7 @@ const { page } = useData()
:rel="item.rel"
tabindex="0"
>
{{ item.text }}
<span v-html="item.text"></span>
</VPLink>
</template>

Loading…
Cancel
Save