Enis Necipoglu
3 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
3 changed files with
6 additions and
2 deletions
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Client/MyProjectNameBlazorModule.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/MyProjectNameBlazorModule.cs
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/MyProjectNameBlazorHostModule.cs
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using Blazorise.Bootstrap5; |
|
|
|
using Blazorise.Icons.FontAwesome; |
|
|
|
using Microsoft.AspNetCore.Components.Web; |
|
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; |
|
|
|
using MyCompanyName.MyProjectName.Menus; |
|
|
|
using MyCompanyName.MyProjectName; |
|
|
|
@ -121,7 +122,7 @@ public class MyProjectNameBlazorModule : AbpModule |
|
|
|
private static void ConfigureUI(WebAssemblyHostBuilder builder) |
|
|
|
{ |
|
|
|
builder.RootComponents.Add<App>("#ApplicationContainer"); |
|
|
|
|
|
|
|
builder.RootComponents.Add<HeadOutlet>("head::after"); |
|
|
|
} |
|
|
|
|
|
|
|
private static void ConfigureHttpClient(ServiceConfigurationContext context, IWebAssemblyHostEnvironment environment) |
|
|
|
|
|
|
|
@ -2,6 +2,7 @@ |
|
|
|
using System.Net.Http; |
|
|
|
using Blazorise.Bootstrap5; |
|
|
|
using Blazorise.Icons.FontAwesome; |
|
|
|
using Microsoft.AspNetCore.Components.Web; |
|
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; |
|
|
|
using Microsoft.Extensions.Configuration; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
@ -86,7 +87,7 @@ public class MyProjectNameBlazorModule : AbpModule |
|
|
|
private static void ConfigureUI(WebAssemblyHostBuilder builder) |
|
|
|
{ |
|
|
|
builder.RootComponents.Add<App>("#ApplicationContainer"); |
|
|
|
|
|
|
|
builder.RootComponents.Add<HeadOutlet>("head::after"); |
|
|
|
} |
|
|
|
|
|
|
|
private static void ConfigureHttpClient(ServiceConfigurationContext context, IWebAssemblyHostEnvironment environment) |
|
|
|
|
|
|
|
@ -2,6 +2,7 @@ |
|
|
|
using System.Net.Http; |
|
|
|
using Blazorise.Bootstrap5; |
|
|
|
using Blazorise.Icons.FontAwesome; |
|
|
|
using Microsoft.AspNetCore.Components.Web; |
|
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; |
|
|
|
using Microsoft.Extensions.Configuration; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
@ -80,6 +81,7 @@ public class MyProjectNameBlazorHostModule : AbpModule |
|
|
|
private static void ConfigureUI(WebAssemblyHostBuilder builder) |
|
|
|
{ |
|
|
|
builder.RootComponents.Add<App>("#ApplicationContainer"); |
|
|
|
builder.RootComponents.Add<HeadOutlet>("head::after"); |
|
|
|
} |
|
|
|
|
|
|
|
private static void ConfigureHttpClient(ServiceConfigurationContext context, IWebAssemblyHostEnvironment environment) |
|
|
|
|