Magento – How to remove jQuery conflict in magento 2

conflictjquerymagento-2.1magento2

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

Best Answer

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"); 
      });
 });
Related Topic