Skip to content

Commit d644462

Browse files
committed
WebのコンポーネントをRCLに移動
1 parent 5f81776 commit d644462

File tree

12 files changed

+26
-4
lines changed

12 files changed

+26
-4
lines changed
File renamed without changes.

BlazorHybrid.Web/Components/Layout/MainLayout.razor.css renamed to BlazorHybrid.RCL/Components/Layout/MainLayout.razor.css

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Router AppAssembly="@typeof(Routes).Assembly">
2+
<Found Context="routeData">
3+
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" />
4+
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
5+
</Found>
6+
</Router>

BlazorHybrid.RCL/_Imports.razor

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
@using Microsoft.AspNetCore.Components.Web
1+
@using System.Net.Http
2+
@using System.Net.Http.Json
3+
@using Microsoft.AspNetCore.Components.Forms
4+
@using Microsoft.AspNetCore.Components.Routing
5+
@using Microsoft.AspNetCore.Components.Web
6+
@using static Microsoft.AspNetCore.Components.Web.RenderMode
7+
@using Microsoft.AspNetCore.Components.Web.Virtualization
8+
@using Microsoft.JSInterop

BlazorHybrid.Web/BlazorHybrid.Web.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<Folder Include="wwwroot\" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<ProjectReference Include="..\BlazorHybrid.RCL\BlazorHybrid.RCL.csproj" />
15+
</ItemGroup>
16+
917
</Project>

0 commit comments

Comments
 (0)