Vue router v3 compatible with quasar?
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?
I am in the same boat. I needed onBeforeRouteLeave for a “Unsaved changes” popup. I found a fix here.
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.