Browse Source
Merge pull request #19843 from abpframework/8.1-headoutlet-serverside
Fix rendering HeadOtulet in Blazor Server
pull/19844/head
liangshiwei
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
10 additions and
5 deletions
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/Pages/_Host.cshtml
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Pages/_Host.cshtml
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Pages/_Host.cshtml
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/Pages/_Host.cshtml
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/Pages/_Host.cshtml
|
|
|
@ -4,6 +4,7 @@ |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.LeptonXLiteTheme.Themes.LeptonXLite |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme.Bundling |
|
|
|
@using Volo.Abp.Localization |
|
|
|
@using Microsoft.AspNetCore.Components.Web |
|
|
|
@{ |
|
|
|
Layout = null; |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -18,7 +19,7 @@ |
|
|
|
<base href="~/" /> |
|
|
|
|
|
|
|
<abp-style-bundle name="@BlazorLeptonXLiteThemeBundles.Styles.Global"/> |
|
|
|
<HeadOutlet /> |
|
|
|
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" /> |
|
|
|
</head> |
|
|
|
<body class="abp-application-layout bg-light @rtl"> |
|
|
|
|
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.LeptonXLiteTheme.Themes.LeptonXLite |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme.Bundling |
|
|
|
@using Volo.Abp.Localization |
|
|
|
@using Microsoft.AspNetCore.Components.Web |
|
|
|
@{ |
|
|
|
Layout = null; |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -18,7 +19,7 @@ |
|
|
|
<base href="~/" /> |
|
|
|
|
|
|
|
<abp-style-bundle name="@BlazorLeptonXLiteThemeBundles.Styles.Global"/> |
|
|
|
<HeadOutlet /> |
|
|
|
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" /> |
|
|
|
</head> |
|
|
|
<body class="abp-application-layout bg-light @rtl"> |
|
|
|
|
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.LeptonXLiteTheme.Themes.LeptonXLite |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme.Bundling |
|
|
|
@using Volo.Abp.Localization |
|
|
|
@using Microsoft.AspNetCore.Components.Web |
|
|
|
@{ |
|
|
|
Layout = null; |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -18,7 +19,7 @@ |
|
|
|
<base href="~/" /> |
|
|
|
|
|
|
|
<abp-style-bundle name="@BlazorLeptonXLiteThemeBundles.Styles.Global"/> |
|
|
|
<HeadOutlet /> |
|
|
|
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" /> |
|
|
|
</head> |
|
|
|
<body class="abp-application-layout bg-light @rtl"> |
|
|
|
|
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.LeptonXLiteTheme.Themes.LeptonXLite |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.LeptonXLiteTheme.Bundling |
|
|
|
@using Volo.Abp.Localization |
|
|
|
@using Microsoft.AspNetCore.Components.Web |
|
|
|
@{ |
|
|
|
Layout = null; |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -18,7 +19,7 @@ |
|
|
|
<base href="~/" /> |
|
|
|
|
|
|
|
<abp-style-bundle name="@BlazorLeptonXLiteThemeBundles.Styles.Global" /> |
|
|
|
<HeadOutlet /> |
|
|
|
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" /> |
|
|
|
</head> |
|
|
|
<body class="abp-application-layout bg-light @rtl"> |
|
|
|
|
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.BasicTheme.Bundling |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic |
|
|
|
@using Volo.Abp.Localization |
|
|
|
@using Microsoft.AspNetCore.Components.Web |
|
|
|
@{ |
|
|
|
Layout = null; |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -18,7 +19,7 @@ |
|
|
|
<base href="~/" /> |
|
|
|
|
|
|
|
<abp-style-bundle name="@BlazorBasicThemeBundles.Styles.Global" /> |
|
|
|
<HeadOutlet /> |
|
|
|
<component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" /> |
|
|
|
</head> |
|
|
|
<body class="abp-application-layout bg-light @rtl"> |
|
|
|
<component type="typeof(App)" render-mode="Server" /> |
|
|
|
|