Topic: Cherry pick components MDBRating, MDBRatingItem, MDBAlert

jeromez free asked 3 years ago


Hi Team,

I am trying to optimize my imports. From the pro version, I need only MDBRating, MDBRatingItem and MDBAlert for my current project.

What's the best way to import cherry pick these 3 components on top of the default mdb-vue-ui-kit?

Thank you, J.


Mikołaj Smoleński staff commented 3 years ago

The best way will be to use Modules: https://mdbootstrap.com/docs/b5/vue/getting-started/optimization/#section-modules

Keep coding,  Mikołaj from MDB


jeromez free commented 3 years ago

Thank you. Any chance you will expose all components as module (e.g. Buttons, Accordion, etc.)?


Mikołaj Smoleński staff commented 3 years ago

For this moment we decided that free package is small enough to import all of the components, but will consider some kind of threeshaking in the future.

Keep coding,  Mikołaj from MDB



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: MDB5 1.4.0
  • Device: Macbook
  • Browser: Firefox
  • OS: BigSur
  • Provided sample code: No
  • Provided link: No