Essentially, I want to redirect to a dynamic URL, something like: /resource/:id, but I also want to pass some parameters at the same time. I don't want to go the query string route.
So, something like:
this.$router.push({path: 'resource/' + id, params: {
test: "HELLO"
}
});
The property gets passed when I have it like this (but it's not the right route)
this.$router.push({name: 'resource', params: {
test: "HELLO"
}
});
Is it possible to do what I want or do I need to start looking into VueEx?
domain.com/resource/100?test='HELLO'? Where100is theid