Browse Source

Merge pull request #19338 from abpframework/remove-ConfigureUI

Remove ConfigureUI MyProjectNameBlazorClientModule.cs
pull/19343/head
selman koc 3 years ago
committed by GitHub
parent
commit
69bc52705f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/MyProjectNameBlazorClientModule.cs

6
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Client/MyProjectNameBlazorClientModule.cs

@ -81,12 +81,6 @@ public class MyProjectNameBlazorClientModule : 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) private static void ConfigureHttpClient(ServiceConfigurationContext context, IWebAssemblyHostEnvironment environment)
{ {
context.Services.AddTransient(sp => new HttpClient context.Services.AddTransient(sp => new HttpClient

Loading…
Cancel
Save