I wanted to pass query param in hidden format. I mean, not like /register?plan=private
but like /register
. I should be able to pass plan
value as private
and can access it easily.
How this is feasible in vuejs please guide. It would be good if we can have codepen example.
// with query, resulting in /register?plan=private
router.push({ path: 'register', query: { plan: 'private' }})