Skip to content

vue-router / loadRouteLocation

loadRouteLocation()

ts
function loadRouteLocation(route): Promise<RouteLocationNormalizedLoadedGeneric>;

Ensures a route is loaded, so it can be passed as o prop to <RouterView>.

Parameters

route

resolved route to load

RouteLocationNormalizedGeneric | RouteLocationGeneric

Returns

Promise<RouteLocationNormalizedLoadedGeneric>

Released under the MIT License.