Magento 2 : Requirejs, Calling a js file universally in magento 2

Calling a js in all the pages of Magento 2, use below code in your requirejs-config.js:


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>