Trying out blazor too I guess

This commit is contained in:
Lani Aung
2024-09-15 21:35:25 -06:00
parent de9c6e6e92
commit 009efc4643
70 changed files with 1300 additions and 746 deletions
+23
View File
@@ -0,0 +1,23 @@
using fxl.codes.kisekae.blazor.Components;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
}
app.UseStaticFiles();
app.UseAntiforgery();
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode();
app.Run();