How to use custom jquery / javascript in magento 2

require([‘jquery’, ‘jquery/ui’], function($){

jQuery(document).ready( function() {
/ad you JavaScript code here/
})

})

6 thoughts on “Add jQuery or JavaScript on Magento 2

  1. Pingback: get more
  2. Pingback: Devam脹n脹 oku

Comments are closed.