2023-03-27 13:30:27 +00:00
|
|
|
<Router AppAssembly="@typeof(App).Assembly">
|
|
|
|
<Found Context="routeData">
|
|
|
|
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
|
|
|
|
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
|
|
|
</Found>
|
|
|
|
<NotFound>
|
|
|
|
<PageTitle>Not found</PageTitle>
|
|
|
|
<LayoutView Layout="@typeof(MainLayout)">
|
2023-05-20 18:28:51 +00:00
|
|
|
<p class="alert alert-info" role="alert">Her er det ingenting. :(</p>
|
2023-03-27 13:30:27 +00:00
|
|
|
</LayoutView>
|
|
|
|
</NotFound>
|
|
|
|
</Router>
|