Skip to main content

AppRouter()

Home > @backstage/core-app-api > AppRouter

App router and sign-in page wrapper.

Signature:

function AppRouter(props: AppRouterProps): React.JSX.Element;

Parameters

ParameterTypeDescription
propsAppRouterProps

Returns:

React.JSX.Element

Remarks

The AppRouter provides the routing context and renders the sign-in page. Until the user has successfully signed in, this component will render the sign-in page. Once the user has signed-in, it will instead render the app, while providing routing and route tracking for the app.