0
tommy.reynolds@pentair.com created
1 Answer(s)
-
0
Hello,
Can you add the following lines to your
route.provider.ts
file?import { eLayoutType, RoutesService } from '@abp/ng.core'; import { APP_INITIALIZER } from '@angular/core'; import { eSaasRouteNames } from '@volo/abp.ng.saas/config'; export const APP_ROUTE_PROVIDER = [ { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true }, ]; function configureRoutes(routes: RoutesService) { return () => { routes.add([ // other routes { path: '/my-path', name: 'MenuName', iconClass: 'fas fa-chart-line', order: 2, layout: eLayoutType.application, parentName: eSaasRouteNames.Saas, }, ]); }; }
You can read the documentation about Modifying-the-Menu