Andrés Ortiz Massó

Results 13 comments of Andrés Ortiz Massó

For some reason, when importing using the conventional form: ```js import { useRoute } from "vue-router"; ``` I get this message in the build (and thus, the app cannot work...

> import { useRoute, useRouter, useLink, onBeforeRouteUpdate onBeforeRouteLeave } from 'vue-router/composables' Already tried, but I'm getting this message: ```bash This dependency was not found: * vue-router/composables in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib?[...] ``` *...

Thanks for the hint! 🙌🏻 For the record, I managed to make it work using ```js import { useRoute } from "vue-router/dist/composables.js" ``` Not the cleanest solution, so I'll follow...

I've tested it on safari 123 and works ok!

@posva Thanks for the update! I've been trying to make it work with this configuration: * vue 2.7.10 * vue-router 3.6.3 * vue-cli 4.5.19 (Webpack 4) But getting some error...

It works ok now with version 3.6.4, ¡Gracias!

@greghub Any way this can be merged?

> @stephanos-square you need to set the state instead, in order to make the getter generate the value you want Didn't work for me, the state was changed, but the...

> > > @stephanos-square you need to set the state instead, in order to make the getter generate the value you want > > > > > > Didn't work...