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