Topic: Import CSS
Denis Correia free asked 6 years ago
Is there a way to import only the CSS of the components I'm using?
For example, I will use the MDB React PRO button.
Is it possible to import only the CSS of the Button?
instead of importing all CSS:
import 'mdbreact / dist / css / mdb.css';
Add comment
Bartłomiej Malanowski staff answered 6 years ago
Currently, there's no way to import CSS only for components you use. However, MDB React package including scss files so you can simply comment/uncomment components that you need
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags