-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathApp.razor
More file actions
16 lines (16 loc) · 604 Bytes
/
App.razor
File metadata and controls
16 lines (16 loc) · 604 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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)">
<div class="not-found">
<h1>404 - Page Not Found</h1>
<p>The page you requested could not be found.</p>
<a href="/">Return to Home</a>
</div>
</LayoutView>
</NotFound>
</Router>