1// literal string path
2router.push('home')
3
4// object
5router.push({ path: 'home' })
6
7// named route
8router.push({ name: 'user', params: { userId: '123' } })
9
10// with query, resulting in /register?plan=private
11router.push({ path: 'register', query: { plan: 'private' } })
12