No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to make a url-link from a button in Quasar version ^0.14

    Help
    1
    2
    6709
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MusicForMellons last edited by

      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…?!

      1 Reply Last reply Reply Quote 0
      • M
        MusicForMellons last edited by

        Ah, found an example in the quasar template:
        <q-btn
        color=“primary”
        push
        @click="$router.replace(’/’)"
        icon-right=“home”
        >
        Go home
        </q-btn>

        1 Reply Last reply Reply Quote 0
        • First post
          Last post