Starts in:
1 DAY
5 HRS
10 MIN
30 SEC
Starts in:
1 D
5 H
10 M
30 S
Open Closed

Angular-How to load routes dynamically using Lazy loading #3372


User avatar
0
Yaduraj created

We have to load Menu based on permissions, we used lazy loading but due to some reason, on page load all menu are displayed. After sometime, only permitted menu remain on page and other get disappeared. The expected behavior is to load navigaotors/manu only based Roles/Permissions.

How can we achieve that? Are we missing something in Angular code.

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core / PostgreSql
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 Answer(s)
  • User Avatar
    0
    muhammedaltug created

    Hello,

    Can you send your route.provider.ts?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06