Skip to content

Glossary: Vue.js

useRoute

Also written: useRoute()

A Vue Router function that returns the current route, so you can read `params` such as `sku`, or the `path`.

Where the book teaches it

Related terms

useRouterDynamic segment