1234567891011121314151617 |
- @using NemAnBlazor.Pages
- <Router AppAssembly="@typeof(App).Assembly">
- <Found Context="routeData">
- <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" >
- <Authorizing>
- <text>Please wait, we are authorizing the user.</text>
- </Authorizing>
- </AuthorizeRouteView>
- <FocusOnNavigate RouteData="@routeData" Selector="h1" />
- </Found>
- <NotFound>
- <PageTitle>Not found</PageTitle>
- <LayoutView Layout="@typeof(MainLayout)">
- <p role="alert">Sorry, there's nothing at this address.</p>
- </LayoutView>
- </NotFound>
- </Router>
|