[Vuejs]-Vuejs: Is it possible to put double braces {{}} in a href tag?

4👍

No, is not possible. The correct way is to use v-bind:

<a v-bind:href="link">Mylink</a>

Or in shorthand:

<a :href="link">Mylink</a>

Leave a comment