How do we know which optional js modules to load?


Topic: How do we know which optional js modules to load?

mark.sauer pro asked 9 years ago

I see there are a lot of optional modules. When using various components, is there an easy way to know the dependencies of those components (which modules should be loaded)? Right now, I am just guessing and loading up the ones I think it might need until it works. But I don't want to load modules that are really not needed.

Michal Szymanski staff pro premium priority answered 9 years ago

Hi Mark, you don't need to load modules at all, because all of them are already compiled to mdb.js file. They are optional to those, who want to develop our js files. If you don't want to modify them, you don't even need to include it in your project. Mdb.js or mdb.min.js are enough.

mark.sauer pro answered 9 years ago

Thanks Michael. That makes sense. I think I was mistaken previously about the components that were not working before. The likely cause was a conflict with another library, not a missing dependency.
Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No