@page "/"
<h1>Hello, world!</h1>
Welcome to your new app.
namespace BlazorFiddleProject
{
using Microsoft.Extensions.DependencyInjection;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
}
// Warning: IComponentsApplicationBuilder - not the original .NET 6.0 interface. This was done to make old saves work.
public void Configure(IComponentsApplicationBuilder app)
{
app.AddComponent<App>("app");
}
}
}