Having a bit of an issue adding data to HREF in Vue. I currently have the following code to render the respective icons.
<v-card-text>
<v-btn
v-for="icon in icons"
:key="icon"
class="mx-3 white--text"
icon
>
<v-icon size="24px">{{ icon.icon }}
</v-icon>
<a :href="`#${icon.link}`" ></a>
</v-btn>
</v-card-text>
And the data as follows:
icons: [
{icon:'fab fa-facebook', link:'https://www.facebook.com/user'},
{icon:'fab fa-twitter', link:'https://twitter.com/user'},
{icon:'fab fa-linkedin', link:'https://www.linkedin.com/in/user/'},
{icon:'fab fa-instagram', link:'https://www.instagram.com/user/'},
],
The icons themselves are rendering properly, but I can't for the life of me get the links to work.
How would I link up the href to the icon using {{icon.link}}