createRootRoute

Creates a root Route instance used to build your route tree.

Typically paired with createRouter({ routeTree }). If you need to require a typed router context, use createRootRouteWithContext instead.

Online Documentation

Return

A root route instance.

Parameters

options

Root route options (component, error, pending, etc.).