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.4.8 released with new features.

 Magento 2.4.8 Released: What’s New and Improved Magento 2.4.8 (Adobe Commerce and Open Source) was officially released in June 2024 , brin...

Popular Posts

Posts