0 votes
in VueJS by

How can I 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 Jan 9, 2020 in VueJS by GeorgeBell
0 votes
asked Jan 9, 2020 in VueJS by GeorgeBell
0 votes
asked Oct 9, 2019 in VueJS by Indian
...