Skip to content

Commit 0d64894

Browse files
Move MAUI Blazor template files to match ASP.NET Blazor template (#18608)
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1910199 Co-authored-by: Eilon Lipton <[email protected]>
1 parent 1ebb238 commit 0d64894

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Router AppAssembly="@typeof(MauiProgram).Assembly">
22
<Found Context="routeData">
3-
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Components.Layout.MainLayout)" />
3+
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" />
44
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
55
</Found>
66
</Router>

Diff for: src/Templates/src/templates/maui-blazor/MainPage.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
99
<BlazorWebView.RootComponents>
10-
<RootComponent Selector="#app" ComponentType="{x:Type local:Routes}" />
10+
<RootComponent Selector="#app" ComponentType="{x:Type local:Components.Routes}" />
1111
</BlazorWebView.RootComponents>
1212
</BlazorWebView>
1313

0 commit comments

Comments
 (0)