@resistdesign/voltra
    Preparing search index...

    Function addRouteToRouteMap

    • A utility function to add a route to a route map by path.

      Parameters

      • routeMap: RouteMap

        Existing route map to append to.

      • route: Route

        Route definition to add to the map.

      • basePath: string = ""

        Optional base path prefix to apply to the route path.

      Returns RouteMap

      New route map with the route appended.