I'm trying to remove the span tag which follow up in the v-btn component provided by Vuetify, that is getting in the way of tracking via HTML id attributes in analytics
Code provided below using UI component (v-btn) from Vuetify
<v-btn
id="btn-home-sectionSix-partner"
to="/about/partnership"
class="ma-2 HomeLastBtn textBtn text-center"
outlined
style="text-align: -webkit-center;"
>Become a partner
</v-btn>
Renders the following in browser
<a data-v-fae5bece=""
href="/about/partnership"
class="ma-2 HomeLastBtn textBtn text-center v-btn v-btn--outlined v-btn--router theme--light v-size--default"
id="btn-home-sectionSix-partner"
style="text-align: -webkit-center;"
>
<span class="v-btn__content">
Become a partner
</span>
</a>
As mentioned above, I do not want the text in the span
tag, but in the a
tag directly
<a data-v-fae5bece=""
href="/about/partnership"
class="ma-2 HomeLastBtn textBtn text-center v-btn v-btn--outlined v-btn--router theme--light v-size--default"
id="btn-home-sectionSix-partner"
style="text-align: -webkit-center;"
>
Become a partner
</a>
I have referred to the following sources but not getting the answer I want.
Have also tried the following
<a data-v-fae5bece=""
href="/about/partnership"
class="ma-2 HomeLastBtn textBtn text-center v-btn v-btn--outlined v-btn--router theme--light v-size--default"
id="btn-home-sectionSix-partner"
style="text-align: -webkit-center;"
>
<template v-slot:default>
Try For Free Now
</template>
</a>
But leads to the same result above.
Thanks & appreciate all the help I can get.