Browse Source
Merge pull request #19337 from abpframework/remove-ConfigureUI
Remove ConfigureUI from MyProjectNameBlazorHostClientModule
pull/19343/head
selman koc
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
6 deletions
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host.Client/MyProjectNameBlazorHostClientModule.cs
|
|
|
@ -76,12 +76,6 @@ public class MyProjectNameBlazorHostClientModule : 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) |
|
|
|
{ |
|
|
|
context.Services.AddTransient(sp => new HttpClient |
|
|
|
|