You have access to a $route object from your components, that expose what we need.
//from your component
console.log(this.$route.query.test)