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 December 05, 2024, 12:19