How to make a url-link from a button in Quasar version ^0.14
-
In Quasar version 0.13 the way to do it was:
<router-link v-bind:to="'/myurladdress'" tag='button' class='primary'>Link-name</router-link>
In the docs of of Quasar version 0.14.2 I find that you write a function on the button click event…?!
-
Ah, found an example in the quasar template:
<q-btn
color=“primary”
push
@click="$router.replace(’/’)"
icon-right=“home”
>
Go home
</q-btn>