Katheryne/Frontend/Program.cs
2023-10-17 20:10:28 +08:00

15 lines
419 B
C#

using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Katheryne;
using Frontend;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddAntDesign();
builder.Services.AddKatheryne();
WebAssemblyHost app = builder.Build();
await app.RunAsync();