You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/src/Connected.Components.Showca.../App.razor

20 lines
643 B

@using System.Reflection;
<Router AppAssembly="@typeof(App).Assembly" AdditionalAssemblies="@additionalAssemblies">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
@code {
private List<Assembly> additionalAssemblies { get; set; } = new()
{
//typeof(Connected.Components.Showcase.Pages.AlertShowcase).Assembly
};
}