Topic: How to apply mdb styles and scripts to one module
jasonatallah pro asked 6 years ago
I'm in the process of migrating from ngx-bootstrap to mdb pro. Adding the required styles and scripts in the angular.json is breaking parts of my app where ngx-bootstrap components are used (due to same class names I'm assuming). How can I apply the styles and scripts to just one module so I can rewrite components and plug them into the app one at a time?
Damian Gemza staff answered 6 years ago
Dear @jasonatallah
You can try to import mdb stylesheets in component.scss file instead of angular.json file (probably you might have to use ViewEncapsulation.None in component in which you're importing mdb stylesheet). Maybe this will resolve your problem.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.3.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No