Como obter dados do URL em Vuejs

new URL(location.href).searchParams.get('page')
Good Gnu