aboutsummaryrefslogtreecommitdiff
path: root/Web/App.razor
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-10 13:54:23 +0200
committertranstrike <transtrike@gmail.com>2020-12-10 13:54:23 +0200
commitee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 (patch)
tree02d126568767f77f78127a347b142e5225fab4de /Web/App.razor
parent7941f1ab479b72ee53e94aef54b8390d21d36f84 (diff)
downloadDevHive-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.razor10
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>