Files
AI-Studio/app/MindWork AI Studio/Routes.razor
T
2026-11-21 14:16:04 +01:00

20 lines
756 B
Plaintext

@using AIStudio.Components
@* Rider takes this using for unused, but without it, Razor does not recognize Router, Found, and FocusOnNavigate as components: *@
@* ReSharper disable once RedundantUsingDirective *@
@using Microsoft.AspNetCore.Components.Routing
@using MudBlazor
<Router AppAssembly="typeof(Program).Assembly">
<Found Context="routeData">
<RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)"/>
<FocusOnNavigate RouteData="routeData" Selector="h1"/>
</Found>
</Router>
<MudDialogProvider />
<MudPopoverProvider />
<MudSnackbarProvider />
@* Outside the router on purpose: which drop zone a drop belongs to is a question of the whole
session, not of the current page. *@
<DropZoneArbiter />