Jak uzyskać dane z adresu URL w vuejs

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