Skip to content

Commit

Permalink
Move MAUI Blazor template files to match ASP.NET Blazor template (#18608
Browse files Browse the repository at this point in the history
)

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1910199

Co-authored-by: Eilon Lipton <Eilon@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Eilon committed Nov 8, 2023
1 parent 1ebb238 commit 0d64894
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
@@ -1,6 +1,6 @@
<Router AppAssembly="@typeof(MauiProgram).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Components.Layout.MainLayout)" />
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
</Router>
2 changes: 1 addition & 1 deletion src/Templates/src/templates/maui-blazor/MainPage.xaml
Expand Up @@ -7,7 +7,7 @@

<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
<BlazorWebView.RootComponents>
<RootComponent Selector="#app" ComponentType="{x:Type local:Routes}" />
<RootComponent Selector="#app" ComponentType="{x:Type local:Components.Routes}" />
</BlazorWebView.RootComponents>
</BlazorWebView>

Expand Down

0 comments on commit 0d64894

Please sign in to comment.