Browse Source

Remove ConfigureUI from MyProjectNameBlazorHostClientModule

pull/19337/head
Enis Necipoglu 3 years ago
parent
commit
2039c62d31
  1. 6
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host.Client/MyProjectNameBlazorHostClientModule.cs

6
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

Loading…
Cancel
Save