- App.razor: Routes에 @rendermode=InteractiveServer 추가 (MudBlazor Static SSR 문제 해결) - _Layout.cshtml: v@(version.Version)으로 Razor 파싱 명시화 Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<component type="typeof(HeadOutlet)" render-mode="InteractiveServer" />
|
||||
</head>
|
||||
<body>
|
||||
<Routes />
|
||||
<Routes @rendermode="RenderMode.InteractiveServer" />
|
||||
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
||||
<script src="_framework/blazor.web.js"></script>
|
||||
</body>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
@if (Context.RequestServices.GetService(typeof(VersionInfo)) is VersionInfo version)
|
||||
{
|
||||
<div class="mt-2 text-muted" style="font-size: 0.75rem; opacity: 0.6;">
|
||||
v@version.Version · @version.Built
|
||||
v@(version.Version) · @version.Built
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user