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

| RouteLocationGeneric | RouteLocationNormalizedGeneric

resolved route to load

Returns

Promise<RouteLocationNormalizedLoadedGeneric>

Released under the MIT License.