Created
June 17, 2022 12:20
-
-
Save markshust/b02a337d9237458cf53469a941fd0b24 to your computer and use it in GitHub Desktop.
Add a JavaScript file to all pages of Magento with head.link node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
| <head> | |
| <link src="Foo_Bar::js/my-js-file.js"/> | |
| </head> | |
| </page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment