[Vuejs]-Nuxt link with dynamic `to` prop

0👍

Seems I’m using vue router links incorrectly (see: https://github.com/vuejs/vue-router/issues/1131)

When I pass an absolute URL to the :to prop, it adds it to the end of the current URL. So I have to return urlObject.pathname + urlObject.search instead of returning urlObject.href

:shrug:

Leave a comment