Answers for "vue get query parameters page"

5

query params vuejs

http://localhost:8000?name=John&[email protected]

 parameters = this.$route.query
 console.log(parameters)

 name = this.$route.query.name
 console.log(name)
Posted by: Guest on November-13-2020
0

how to send query parameters in url vuejs

// with query, resulting in /register?plan=private
router.push({ path: 'register', query: { plan: 'private' }})
Posted by: Guest on May-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language