• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Vue.JS by
Q:
How to fetch query parameters in Vue.js

1 Answer

0 votes
by

You have access to a $route object from your components, that expose what we need.

//from your component
console.log(this.$route.query.test)

Related questions

0 votes
asked Oct 7, 2019 in Vue.JS by Tate
0 votes
asked Oct 7, 2019 in Vue.JS by Tate
...