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

    Vue router v3 compatible with quasar?

    Help
    composition-api vue-router
    2
    2
    496
    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.
    • H
      hitittome873 last edited by

      I installed quasar and it used the v2 version of vue router which doesn’t have the hooks needed for the composition api. Is quasar compatible with vue router v3?

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

        Hi,

        I am in the same boat. I needed onBeforeRouteLeave for a “Unsaved changes” popup. I found a fix here.
        https://github.com/vuejs/composition-api/issues/49#issuecomment-701015268

        I think the vue-router version that provides these composition api functions requires Vue3. I also think support for Quasar and Vue3 is currently in development. I might be wrong I don’t know for sure, but figured I would post the fix that worked for me while looking into this issue.

        Thanks,
        Mitch

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