I was wondering if this is possible:
For example i have two Vue.js
files, lets call them file A and B.
On file there's on click function where the function has router.push to file B. But i need to pass from file A to file B parameter lets say some 'string'
.
This is my function on file A:
goPage(x, y) {
let vm = this;
vm.$router.push(`/${x}/${y}`);
},
And my question is: is this is possible to do and if so, how can i achieve this.
Thanks for any help/articles/clues!