vue add query params to url from json code example
Example: how to send query parameters in url vuejs
// with query, resulting in /register?plan=private
router.push({ path: 'register', query: { plan: 'private' }})
// with query, resulting in /register?plan=private
router.push({ path: 'register', query: { plan: 'private' }})