diff options
Diffstat (limited to 'Routes.razor')
| -rw-r--r-- | Routes.razor | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Routes.razor b/Routes.razor new file mode 100644 index 0000000..105855d --- /dev/null +++ b/Routes.razor @@ -0,0 +1,6 @@ +<Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(Pages.NotFound)"> + <Found Context="routeData"> + <RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)" /> + <FocusOnNavigate RouteData="routeData" Selector="h1" /> + </Found> +</Router> |
