[Vuejs]-Vuetify v-btn with external link and dynamic property

4👍

Thanks for your input. My actual solution is below.

<v-btn class="ma-2" tile outlined color="success" :href="`${getVNCPort()}`">
            <v-icon left>mdi-remote-desktop</v-icon>VNC
          </v-btn>

0👍

You need to use :href instead of href to bind a javascript attribute

<v-btn :href="'vnc://hostname:' + computer.Port">
  VNC
</v-btn>
👤ittus

Leave a comment