Surface Blazor layout limitation (#21173)
parent
e55ec8e801
commit
3ced978c46
|
@ -596,7 +596,7 @@ The `@inject` directive enables the Razor Page to inject a service from the [ser
|
||||||
|
|
||||||
*This scenario only applies to Razor components (.razor).*
|
*This scenario only applies to Razor components (.razor).*
|
||||||
|
|
||||||
The `@layout` directive specifies a layout for a Razor component. Layout components are used to avoid code duplication and inconsistency. For more information, see <xref:blazor/layouts>.
|
The `@layout` directive specifies a layout for routable Razor components that have an [`@page`](#page) directive. Layout components are used to avoid code duplication and inconsistency. For more information, see <xref:blazor/layouts>.
|
||||||
|
|
||||||
::: moniker-end
|
::: moniker-end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue