Topic: Possible not to import MDBBootstrapModulesPro.forRoot() in appModule?
                  
                  junior5417
                  pro
                  asked 6 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 6 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:
https://mdbootstrap.com/docs/angular/getting-started/modules/
                      
                      junior5417
                      pro
                        answered 6 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 6 years ago
                    
Dear @junior5417
Yes, this is possible. Just import this module, which you want to use - for example, ButtonsModule.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: 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