npm i @vuehooks/router
or
yarn add @vuehooks/router
useRouter
— gain easy access to the vue-router.useQuery
— monitor url queries with one line.useParam
— monitor url parameters with one line.