Topic: MDB 5 Pro WordPress JS enqueues

wordfishgroup priority asked 4 years ago


Expected behavior

Clarity on what Javascript to enqueue when using MDB 5 Pro Essential with WordPress

Actual behavior

Enqueue mdb.min.js only. Cannot enqueue mdb.pro.js as it is a module which imports core, free and pro components.

Since I do not have access to a gulp version in my download area, I setup SASS and JS manually for my WordPress theme. My understanding was that it is included with the MDB 5 Pro Essentials € 17 / month subscription. However, it does not appear as documented in my download area, nor does the gulp version dowload using NPM method, only the ui-kit downloads.

Testing various MDB 5 Pro components has been successful, so I am not sure what I may be missing by only enqueuing mdb.min.js

Question

What, if any, of the javascript components that are imported when using mdb.pro.js in a non WordPress implementation should I enqueue manually?


Grzegorz Bujański staff answered 4 years ago


The mdb.pro.js file contains all the necessary imports. You don't need to import anything else. The file mdb.min.js contains exactly the same components. It's just compiled code.



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: Other
  • MDB Version: -
  • Device: not relevant
  • Browser: not relevant
  • OS: not relevant
  • Provided sample code: No
  • Provided link: No