Browse Source
Add missing using directives and update AbpStyles references in App.razor files
pull/25235/head
maliming
8 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
6 additions and
0 deletions
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Components/App.razor
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.WebApp.Tiered/Components/App.razor
|
|
|
@ -2,6 +2,8 @@ |
|
|
|
@using System.Globalization |
|
|
|
@using Microsoft.Extensions.Hosting |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.MudBlazorBasicTheme.Bundling |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor.Bundling |
|
|
|
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonXLite.Bundling |
|
|
|
@inject IHostEnvironment Env |
|
|
|
@{ |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -17,6 +19,7 @@ |
|
|
|
<base href="/" /> |
|
|
|
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" /> |
|
|
|
<AbpStyles BundleName="@LeptonXLiteThemeBundles.Styles.Global" /> |
|
|
|
<AbpStyles BundleName="@BlazorMudBlazorBasicThemeBundles.Styles.Global" /> |
|
|
|
|
|
|
|
<HeadOutlet @rendermode="InteractiveServer" /> |
|
|
|
|
|
|
|
@ -4,7 +4,9 @@ |
|
|
|
@using Microsoft.AspNetCore.Http |
|
|
|
@using Microsoft.Extensions.Hosting |
|
|
|
@using Volo.Abp.AspNetCore.Components.Server.MudBlazorBasicTheme.Bundling |
|
|
|
@using Volo.Abp.AspNetCore.Components.Web.Theming.MudBlazor.Bundling |
|
|
|
@using Volo.Abp.AspNetCore.Components.WebAssembly.WebApp |
|
|
|
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonXLite.Bundling |
|
|
|
@inject IHostEnvironment Env |
|
|
|
@{ |
|
|
|
var rtl = CultureHelper.IsRtl ? "rtl" : string.Empty; |
|
|
|
@ -20,6 +22,7 @@ |
|
|
|
<base href="/" /> |
|
|
|
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" /> |
|
|
|
<AbpStyles BundleName="@LeptonXLiteThemeBundles.Styles.Global" /> |
|
|
|
<AbpStyles BundleName="@BlazorMudBlazorBasicThemeBundles.Styles.Global" WebAssemblyStyleFiles="GlobalStyles" /> |
|
|
|
|
|
|
|
<HeadOutlet @rendermode="InteractiveAuto" /> |
|
|
|
|