@resistdesign/voltra
    Preparing search index...

    Function addRoutesToRouteMap

    • Add multiple routes to a RouteMap by path.

      Parameters

      • routeMap: RouteMap

        Existing route map to append to.

      • routes: Route[]

        Route list to add to the map.

      • basePath: string = ""

        Optional base path prefix applied to all route paths.

      Returns RouteMap

      New route map with all routes appended.