English
Appearance
Complete guide to
Mastering Pinia
written by its creator
The official
Vue.js Certification
Get certified!
vue-router / useRoute
function useRoute<Name>(_name?): RouteLocationNormalizedLoadedGeneric;
Returns the current route location. Equivalent to using $route inside templates.
$route
Name extends string | symbol = string | symbol
Name
string
symbol
RouteLocationNormalizedLoadedGeneric