How to add custom Javascript in head in Magento 2
To add a custom Javascript file in head in Magento 2, use the following example:
1 2 3 |
<head> <link src="Xanka_Slider::js/slider/jquery.themepunch.plugins.min.js"/> </head> |
Source (
More Magento 2 tips from the Cookbook