Open Closed

abp-sidebar #3468


0
[email protected] created
  • ABP Framework version: 5.3.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): microservices template

I would like to implement a sub menu, using <router-outlet></router-outlet>, and reuse the component abp-sidebar, do you have documentation or any example that I can use to take a look?


5 Answer(s)
  • 0
    mahmut.gundogdu created
    Support Team

    Would you describe what is your purpose for using Abp Side Menu? What do you want to do ?

  • 0
    [email protected] created

    re use component to avoid write new menu, and keep look and feel and style for sub menus

  • 0
    [email protected] created

    Would you describe what is your purpose for using Abp Side Menu? What do you want to do ?

    also to keep working with guards, I am thinking is better to re use instead of write new component for same functionallity, full functionallity about menu, permissions, style,

  • 0
    mahmut.gundogdu created
    Support Team

    I couldn't understand well but if you want to change layout. You just remove abp-dynamic-layout. and add <router-outlet> and are ready to go. if you want to use <abp-sidemenu> you can use it. Just add in HTML.

    Result

  • 0
    [email protected] created

    I couldn't understand well but if you want to change layout. You just remove abp-dynamic-layout. and add <router-outlet> and are ready to go. if you want to use <abp-sidemenu> you can use it. Just add in HTML.

    Result

    I would like to re use your components, like your menu, to create a secondary menu

    my secondary menu is dinamic based on the context and role, but as you can see, the style, the behavior are not the same, so I have to create a component to fit your style, so is better if I could re-use your component.

    also I need to work with breadcrumb