Topic: Possible not to import MDBBootstrapModulesPro.forRoot() in appModule?

junior5417 pro asked 3 years ago

Can I only import module/component that I used for my First Loaded Page? Im trying to reduce the page load/app size by not importing the MDBBootstrapModulesPro.forRoot()

Arkadiusz Idzikowski staff answered 3 years ago

MDBBootstrapModulesPro module contains all MDB Angular modules. If you want to use only specific components, you can import only their modules.

You can find the list of all available modules here:

junior5417 pro answered 3 years ago

Is that mean I don't have to include MDBBootstrapModulesPro.forRoot() anywhere in my project even in my appModule? or have to import at least once?

Damian Gemza staff answered 3 years ago

Dear @junior5417

Yes, this is possible. Just import this module, which you want to use - for example, ButtonsModule.

Best Regards,


Please insert min. 20 characters.


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



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.4
  • Device: Mac
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No