Vuejs Obtenha os parâmetros de URL com o seu roteador
created() {
let uri = window.location.search.substring(1);
let params = new URLSearchParams(uri);
console.log(params.get("var_name"));
},
//Without vue-router
Magnificent Manatee