Open Closed

abp-sidebar #3468


User avatar
0
mmaldonado@emscltd.com 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?


6 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

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

  • User Avatar
    0
    mmaldonado@emscltd.com created

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

  • User Avatar
    0
    mmaldonado@emscltd.com 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,

  • User Avatar
    0
    mahmut.gundogdu 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.

    image.png

    Result
    image.png

  • User Avatar
    0
    mmaldonado@emscltd.com 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.

    image.png

    Result
    image.png

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

    Capture.PNG

    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

  • User Avatar
    0
    mahmut.gundogdu 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.

    image.png

    Result
    image.png

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

    Capture.PNG

    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

    Sorry, there are no presentation components. We will create theme components as a separate component pack but for now there are no visual components.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08