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.

Magento 2 Singleton Design Pattern

  Magento 2 Singleton Design Pattern In the realm of Magento 2 development, mastering design patterns is paramount, and one of the cornersto...

Popular Posts

Posts