Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Add a way to inline custom javascript (via Helmet). #76

Open
piotrfonte opened this issue Apr 15, 2020 · 0 comments
Open

Add a way to inline custom javascript (via Helmet). #76

piotrfonte opened this issue Apr 15, 2020 · 0 comments
Labels
enhancement New feature or request package/app All things related to `packages/app` package/idoc All things related to `packages/idoc`

Comments

@piotrfonte
Copy link
Member

Helmet can do:

        {/* multiple script elements */}
        <script src="http://include.com/pathtojs.js" type="text/javascript" />

        {/* inline script elements */}
        <script type="application/ld+json">{`
        {
            "@context": "http://schema.org"
        }
    `}</script>

Lets allow to provide custom js snippets in the app somehow (useful for adding analytics, among other things).

@piotrfonte piotrfonte added enhancement New feature or request package/app All things related to `packages/app` package/idoc All things related to `packages/idoc` labels Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request package/app All things related to `packages/app` package/idoc All things related to `packages/idoc`
Projects
None yet
Development

No branches or pull requests

1 participant