@page "/"
<h1>Hello, world!</h1>
Welcome to your new app.
<Foo>
<Wrapper>
<div>
<p>Something in the wraper</p>
@context
</div>
</Wrapper>
</Foo>
namespace BlazorFiddleProject
{
using Microsoft.AspNetCore.Components.Builder;
using Microsoft.Extensions.DependencyInjection;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
}
public void Configure(IComponentsApplicationBuilder app)
{
app.AddComponent<App>("app");
}
}
}