diff options
author | Rory& <root@rory.gay> | 2024-01-20 08:34:32 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-01-20 08:34:32 +0100 |
commit | 43e06f4b1b7ead9f8cc97fe547eb49d51f341486 (patch) | |
tree | b700ba441320e0f3944c398080cadd296f03ef07 /SystemdCtl/Components/Routes.razor | |
download | SystemdCtl-43e06f4b1b7ead9f8cc97fe547eb49d51f341486.tar.xz |
Initial commit
Diffstat (limited to 'SystemdCtl/Components/Routes.razor')
-rw-r--r-- | SystemdCtl/Components/Routes.razor | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SystemdCtl/Components/Routes.razor b/SystemdCtl/Components/Routes.razor new file mode 100644 index 0000000..5974410 --- /dev/null +++ b/SystemdCtl/Components/Routes.razor @@ -0,0 +1,6 @@ +<Router AppAssembly="@typeof(Program).Assembly" AdditionalAssemblies="new[] { typeof(Client._Imports).Assembly }"> + <Found Context="routeData"> + <RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" /> + <FocusOnNavigate RouteData="@routeData" Selector="h1" /> + </Found> +</Router> |