Katheryne/Frontend/Components/Routes.razor

12 lines
463 B
Plaintext
Raw Permalink Normal View History

2023-11-19 12:55:02 +08:00
<Router AppAssembly="@typeof(Program).Assembly">
2023-10-07 13:27:25 +08:00
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
<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>
2023-11-19 12:55:02 +08:00
</Router>