Backstage
    Preparing search index...
    interface CreateTanStackPageRouterOptions {
        createRouter(
            options: { history: RouterHistory; routePaths: readonly string[] },
        ): AnyRouter;
    }
    Index
    • Creates the TanStack router using history projected from the framework. The route tree may render TanStackPageContent wherever the opaque Backstage page element belongs.

      Parameters

      • options: { history: RouterHistory; routePaths: readonly string[] }
        • history: RouterHistory
        • routePaths: readonly string[]

          App-absolute mount patterns in TanStack syntax. Optional static segments produce multiple unique patterns. Mount a route tree at each pattern, never by setting basepath. For /, attach the routes directly to the root route.

      Returns AnyRouter