Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
@piotrfonte piotrfonte added this to One day in next.storycopter.com Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package/app All things related to `packages/app` package/idoc All things related to `packages/idoc`
Projects
Development

No branches or pull requests

1 participant