RequireJS Support

sinanc asked 2 months ago

Dear MDB Team,

I am using RequireJS to load my JS files. However MDB does not support officially requirejs. In some other discussions ( https://mdbootstrap.com/support/proper-structure-for-using-with-requirejs-urgent/ ) you have mentioned that with version 4.4.0 you will support the requirejs. I downloaded the latest version 4.5.5 and I still have the same problems. I need that very urgent, since I cannot use the mdb plugins.

Could you please inform me about your road map? When are you seriously planning to support requirejs?

Thanks in advance

Sinan Can


Hello there!

Integration with RequireJS is still on our TODO list. Since we're focused on a lot of projects, we cannot provide you an estimated time. Anyway, could you please tell us what have you tried so far and what's the error?


sinanc answered 2 months ago

Hello,

I am getting  this error:

https://github.com/mdbootstrap/bootstrap-material-design/issues/135

 

I could use the plugin, if I include it from modules directory as a regular jquery plugin.

For the time being this workaround would do my job.

 

Thank you

Sinan Can


Anna Morawska commented 2 months ago

Hello,
thank you for reporting a problem. It's on our TODO list along with integration with RequireJS.
Best,
Ania


Please insert min. 20 characters.
Status

Answered

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