Magento 2 | How can we use jQuery without “require([‘jquery’],function($){” this code.

Magento 2 | How can we use jQuery without “require([‘jquery’],function($){” this code.

We have face problem we implement some slider and also we have wrighten many script in phtml.
If we add the jquery library then magento is giving the error in core files and all script are stopped accept my cutome script once i remove the the jquery library
then core script are working but my custom script are not working its giving jquery not define you can see error below screenshots.

Puneet Kumar Magento Developer
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply