Skip to content

Commit 2c2a177

Browse files
committed
rendermodeをWeb側から指定
1 parent d294768 commit 2c2a177

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

BlazorHybrid.RCL/Components/Pages/Counter.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@page "/counter"
2-
@rendermode InteractiveServer
32

43
<PageTitle>Counter</PageTitle>
54

BlazorHybrid.Web/Components/App.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<link rel="stylesheet" href="_content/BlazorHybrid.RCL/app.css" />
1010
<link rel="stylesheet" href="BlazorHybrid.Web.styles.css" />
1111
<link rel="icon" type="image/png" href="_content/BlazorHybrid.RCL/favicon.png" />
12-
<HeadOutlet />
12+
<HeadOutlet @rendermode="InteractiveServer" />
1313
</head>
1414

1515
<body>
16-
<Routes />
16+
<Routes @rendermode="InteractiveServer" />
1717
<script src="_framework/blazor.web.js"></script>
1818
</body>
1919

0 commit comments

Comments
 (0)