script.js icon indicating copy to clipboard operation
script.js copied to clipboard

How to set attributes and data-* attributes with $script?

Open martynbiz opened this issue 4 years ago • 0 comments

For example, I want the appended script tag to be:

<script src="js/app.js" cross-origin="anonymous" integrity="..." data-something="peanut butter">

martynbiz avatar Mar 24 '22 10:03 martynbiz