Program.cs 395 B

1234567891011
  1. using FNZCM.BlazorWasm.Helpers;
  2. using FNZCM.BlazorWasm.UI;
  3. using Microsoft.AspNetCore.Components.Web;
  4. using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
  5. var builder = WebAssemblyHostBuilder.CreateDefault(args);
  6. builder.Services.AddSingleton<ApiClient>();
  7. builder.RootComponents.Add<App>("#app");
  8. builder.RootComponents.Add<HeadOutlet>("head::after");
  9. await builder.Build().RunAsync();