Open Closed

ABP 9.1.1 Angular Standalone mode - custom menu doesn't consistent #9358


User avatar
0
DominaTang created

The Angular app stand alone set to true

in app.component.ts file

import { RoutesService, ConfigStateService, ReplaceableComponentsService, eLayoutType, ABP, BaseCoreModule } from '@abp/ng.core';
...
private readonly routes = inject(RoutesService);

OnInit(): void {
this.routes.add([
  {
        path: 'dashboard',
        name: ComponentNames.ES_DASHBOARD,
        iconClass: 'fas fa-chart-line',
        order: 5,
        layout: eLayoutType.application,
        requiredPolicy: Permissions.DASHBOARD_MONITORING_DASHBOARD,
      } as ABP.Route,
]);
}

Above code add additional menu item to left-side menus, however, sometimes, the added menu items are not shown.


1 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, I cannot produce the problem on my end. Could you please share a minimal, reproducible example via this e-mail address: sumeyye.kurtulus@volosoft.com so that I can assist you further?

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20