Open Closed

How to set data for Breadcrumb in Blazor razor page? #4406


0
zhongfang created
  • ABP Framework version: v7.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • create a new razor page
  • how to control the items in Breadcrumb?

2 Answer(s)
  • 0
    zhongfang created

    There are 4 links in bottom. (Lepton Theme/ Privacy /Cookie/ Contact). How to change theme?

  • 0
    EngincanV created
    Support Team

    Hi, you can inject the PageLayout class and add new BreadcrumbItems. See PageLayout.cs and the documentation for more info.

    Also, you can read https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=Blazor#common-components for customizing the breadcrumb component, if you want to override it completely.