Topic: FontAwesome TreeShaking With MdbIcon

digitalmanagerguru free asked 3 years ago

Hi there,

is it possible to make use of Font Awesome TreeShaking with mdb-icon ?

best regards

Mikołaj Smoleński staff commented 3 years ago

It is possible to use MDB tree-shaking option with mdbIcon component.

Best regards

digitalmanagerguru free commented 3 years ago

Will that only load the font awesome icons used with mdb-icon? That's my goal, to decrease font awesome library size. (I am using font awesome pro btw)

Mikołaj Smoleński staff commented 2 years ago

In that case I suggest to use FA tree-shaking instead of MDB Icon component. Best regards

digitalmanagerguru free commented 2 years ago

I was hoping to hear that this could be added to the next version of the mdbIcon component. :P

Thanks for the reply. I'll create a customMdbIcon for that matter for now so I can load only the icons I use in the project.


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



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.7.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: Yes