Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
In prior releases (Blazor Server), the Shared folder namespace was placed in the _Imports file. This release for BWAs, only the Components folder is present. This results in the incongruous situation where "Layout." has to be supplied on DefaultLayout ...
<RouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)" />
... which wasn't required before and still isn't required for Blazor WebAssembly apps. It's breaking the docs and requiring further versioned content.
Describe the solution you'd like
Consider adding it to the _Imports file ...
@using BlazorWeb_CSharp.Components.Layout
Remove "Layout." from the two DefaultLayout params in Routes.razor.
Additional context
BTW .... It seems like if the components folder is plural (Components) and the routable components folder is plural (Pages) that the layout folder name should also be plural (Layouts).
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
In prior releases (Blazor Server), the
Sharedfolder namespace was placed in the_Importsfile. This release for BWAs, only theComponentsfolder is present. This results in the incongruous situation where "Layout." has to be supplied onDefaultLayout...... which wasn't required before and still isn't required for Blazor WebAssembly apps. It's breaking the docs and requiring further versioned content.
Describe the solution you'd like
Consider adding it to the
_Importsfile ...@using BlazorWeb_CSharp.Components.LayoutRemove "
Layout." from the twoDefaultLayoutparams inRoutes.razor.Additional context
BTW .... It seems like if the components folder is plural (
Components) and the routable components folder is plural (Pages) that the layout folder name should also be plural (Layouts).