diff options
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>
|
