Browse Source

Update MyProjectNameBlazorClientModule.cs

pull/19338/head
Enis Necipoglu 3 years ago
parent
commit
9f64a46ac7
  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)
{
context.Services.AddTransient(sp => new HttpClient

Loading…
Cancel
Save