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"> <span v-if="button || icon" class="text">
<component v-if="icon" :is="icon" class="option-icon" /> <component v-if="icon" :is="icon" class="option-icon" />
{{ button }} <span v-html="button"></span>
<VPIconChevronDown class="text-icon" /> <VPIconChevronDown class="text-icon" />
</span> </span>

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

Loading…
Cancel
Save