Web Analytics

Fill the form & Get Installation Support

How to add external CSS and JS in Magento 2?

Today we are going to discuss that how to add third-party js and CSS in our Magento 2 via layout XML.

We have to add CSS and JS in layout via layout.

The syntax for CSS in layout

The syntax for JS in layout

as per above, we can add this in our layout file

That’s it.

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Magento 2 Developer

    Hire P. Garchar

    Get a Free Quote





      /* second popup */

      Connect With Us