diff options
Diffstat (limited to 'Blog/Components/Routes.razor')
| -rw-r--r-- | Blog/Components/Routes.razor | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Blog/Components/Routes.razor b/Blog/Components/Routes.razor new file mode 100644 index 0000000..9661f49 --- /dev/null +++ b/Blog/Components/Routes.razor | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(Pages.NotFound)"> | ||
| 2 | <Found Context="routeData"> | ||
| 3 | <RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)"/> | ||
| 4 | <FocusOnNavigate RouteData="routeData" Selector="h1"/> | ||
| 5 | </Found> | ||
| 6 | </Router> \ No newline at end of file | ||