Base solution for your next web application
Open Closed

Adding New Menu (Angular and AspNet Zero Single Solution) #4621


User avatar
0
indriya created

I am trying to add a new menu in AppNavigationService.ts but it is not reflecting when I run solution.

Something Like this in Admin Menu

new AppMenuItem('NewMenu', null, 'flaticon-settings', '/app/admin/NewMenu') new AppMenuItem('NewMenu', '', 'flaticon-settings', '/app/admin/NewMenu')

I Even tried Creating new Menu Group

new AppMenuItem('CustomMenu', '', 'flaticon-interface-8', '', [ new AppMenuItem('NewMenu', '', 'flaticon-map', '/app/admin/NewMenu') ]);

I tried both, but failed, am I missing something?


1 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi @indriya, are you getting any client errors? Your first definition is correct, you should see the added menu item. When I tried I can see it.