diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-10 13:54:23 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-10 13:54:23 +0200 |
| commit | ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 (patch) | |
| tree | 02d126568767f77f78127a347b142e5225fab4de /Web/App.razor | |
| parent | 7941f1ab479b72ee53e94aef54b8390d21d36f84 (diff) | |
| download | DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.tar DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.tar.gz DevHive-ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667.zip | |
Replaced ASP.NET Core MVC with Blazor
Diffstat (limited to 'Web/App.razor')
| -rw-r--r-- | Web/App.razor | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Web/App.razor b/Web/App.razor new file mode 100644 index 0000000..e10dd75 --- /dev/null +++ b/Web/App.razor @@ -0,0 +1,10 @@ +<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
+ <Found Context="routeData">
+ <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
+ </Found>
+ <NotFound>
+ <LayoutView Layout="@typeof(MainLayout)">
+ <p>Sorry, there's nothing at this address.</p>
+ </LayoutView>
+ </NotFound>
+</Router>
|
