Skip to content

Glossary: Vue.js

useRouter

Also written: useRouter(), router.push

A Vue Router function that returns the router itself, used to move between pages from code with `router.push("/cart")`.

Where the book teaches it

Related terms

useRouteRoute