Last active
May 17, 2018 14:45
-
-
Save colorswall/6c0b146a3e0f9d7bd1ac09e9c47c3d51 to your computer and use it in GitHub Desktop.
nuxt.config.js add script in header
This file contains 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
head: { | |
__dangerouslyDisableSanitizers: ['script'], | |
script: [{ | |
innerHTML: ` | |
console.log('Hello Script') | |
`, | |
type: 'application/ld+json', | |
body: true | |
}], | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment