1

I am getting a conflict of jQuery and due to this some feature of Magento 2 not working . How can I resolve this issue ?

1
  • have you added jquery? Magento2 already provided jquery.
    – Abdul
    Commented Dec 6, 2017 at 7:55

1 Answer 1

2

Magento2 already provided jquery lib check here(\lib\web\jquery)

You can use jquery function below way.

require([ 'jquery', 'jquery/ui'], function($){ 
      $(document).ready(function($) {
           alert("Abdul"); 
      });
 });

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.