Topic: Unable to access pro JS features

06chaynes pro asked 7 years ago


I recently purchased the Jquery pro version and I am having issues accessing the pro features, namely the sideNav function. I see JQuery and the mdb.js file is loaded, I also see the function in the file (it was the file I downloaded from my account page after the purchase) but the function call returns that sideNav() is not a function. Is there anything special I need to do to access these pro features?

06chaynes pro answered 7 years ago


Found this to be related to the order I had called the .js files. Although I am still scratching my head at the moment as to the exact reason this broke things, here is what I found: If I placed the script link for mdb.js BEFORE my Laravel Mix generated .js file, things break. If I place the script AFTER the Laravel mix js file, all works as expected. There is nothing I see in my mix file that should interfere (it's being generated right now but nothing is actually being mixed in at the moment) so I am not sure why this gets broken.

Bartłomiej Malanowski staff commented 7 years ago

What did you put in your Laravel mix?


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: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags