Is it possible to do something like this:
<Router AppAssembly="@typeof(Routes).Assembly"><Found Context="routeData"><RouteView RouteData="@routeData" Path="/admin/*" DefaultLayout="@typeof(AdminLayout)" /><RouteView RouteData="@routeData" Path="/user/*" DefaultLayout="@typeof(UserLayout)" /><FocusOnNavigate RouteData="@routeData" Selector="h1"/></Found></Router>I've found this question: Change layout in Blazor page based on URL
But it doesn't quite do what I want with multiple layout files.Thanks.