Skip to content

Instantly share code, notes, and snippets.

@colorswall
Last active May 17, 2018 14:45
Show Gist options
  • Save colorswall/6c0b146a3e0f9d7bd1ac09e9c47c3d51 to your computer and use it in GitHub Desktop.
Save colorswall/6c0b146a3e0f9d7bd1ac09e9c47c3d51 to your computer and use it in GitHub Desktop.
nuxt.config.js add script in header
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