Adds custom comboboz razor component

This commit is contained in:
BinaryAlley committed 2024-09-04 14:50:38 +03:00
1 parent 0b8b67182c
commit 0df801d12f
33 files changed
+1442 -5

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Core.Services.UI;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
#endregion
@@ -20,6 +21,7 @@ public class Program
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddSingleton<ComboboxService>();
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });