mmmarkk01 priority asked 2 years ago


Expected behavior

When importing the free mdb.min.js from the CDN we get some nice functionalities from a lightweight package. To get additional functionalities we add packages from the pro version as needed. Currently while working on the sidenav we've encountered a package conflict between the free mdb.min.js and the sidenav.min.js

The behaviour is that when importing both packages the sidenav collapse element will collapse out but not in.

Likely due to a package conflict since with just the sidenav.min.js imported the functionality works fine.

Actual behavior

We expect to be able to add pro packages as imports while using the free mdb.min.js from the CDN and not have any package conflicts that create these strange behaviours.

Resources (screenshots, code snippets etc.)


Grzegorz Bujański staff answered 2 years ago


Thanks for reporting this bug. We'll check why this doesn't work as expected. At the moment, the only solution we can propose is to use our webpack starter to prepare a custom version of the MDB: https://mdbootstrap.com/docs/standard/getting-started/optimization/#section-custom-version-of-mdb-ui-kit this will allow you to add only the components you need.



Please insert min. 20 characters.

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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.2
  • Device: PC
  • Browser: Edge
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags