According to the docs of route object, you have access to a $route object from your components, which exposes what you need. In this case
//from your component
console.log(this.$route.query.test) // outputs 'yay'
According to the docs of route object, you have access to a $route object from your components, which exposes what you need. In this case
//from your component
console.log(this.$route.query.test) // outputs 'yay'