-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
8.0.NET 8.NET 8BlazorPri1Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuedoc-enhancement
Description
Description
It is clear how to make a custom layout, using LayoutComponentBase and the @Body directive.
However, it is not mentioned that an @using directive is also required to use the @layout directive on a page.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/layouts?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/layouts.md
Document ID
58e0022a-ac6c-9bf8-380a-40b7d068a887
Article author
Metadata
Metadata
Assignees
Labels
8.0.NET 8.NET 8BlazorPri1Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuedoc-enhancement
Type
Projects
Status
Done