Open Closed

Blazor WebAssemly Custom Layout - Remove Left Navigation #6427


User avatar
0
Spospisil created
  • ABP Framework version: v7.3.0
  • UI Type: Blazor WASM
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Is there a way I can create a custom layout for just one page that does not have the left menu navigation component within it for the LeptonX theme? I have a 'print preview' page for my application that I don't wish to show the navigational menu but want the LeptonX there still applied to the page.

Thanks.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can specify a custom layout of your component.

    https://learn.microsoft.com/en-us/aspnet/core/blazor/components/layouts?view=aspnetcore-8.0#create-a-layout-component https://learn.microsoft.com/en-us/aspnet/core/blazor/components/layouts?view=aspnetcore-8.0#apply-a-layout-to-a-component

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11