Updated UI with BitBlazor components.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
using Bit.BlazorUI;
|
||||
using JSMR.UI.Blazor;
|
||||
using JSMR.UI.Blazor.Services;
|
||||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using MudBlazor.Services;
|
||||
using Radzen;
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
builder.RootComponents.Add<App>("#app");
|
||||
@@ -14,6 +16,8 @@ Console.WriteLine(apiBase);
|
||||
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(apiBase) });
|
||||
builder.Services.AddMudServices();
|
||||
builder.Services.AddRadzenComponents();
|
||||
builder.Services.AddBitBlazorUIServices();
|
||||
|
||||
builder.Services.AddScoped<VoiceWorksClient>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user