Skip to content

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

@martynbiz

Description

@martynbiz

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions