Topic: use mdbpro in submodule,errors

linziyan free asked 5 years ago


use mdb pro in submodule, follows the 5min tutorial.

use MDBBootstrapModulesPro

but it shows :

BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.

but MDBBootstrapModulePro does not have this problem

it seems to be the MDBBootstrapModule problem


Arkadiusz Idzikowski staff answered 5 years ago


We are already aware of this problem and it will be fixed in next version. It is caused by StickyHeaderModule. As a workaround please load only the modules you need instead of whole MDBBootstrapModule or revert to version 7.4.4. You can find modules list here:

https://mdbootstrap.com/docs/angular/getting-started/modules/



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.0
  • Device: pc
  • Browser: firefox
  • OS: mac
  • Provided sample code: No
  • Provided link: No