Hello
I searched but could not find an answer.
I can set noscript like this.
noscript: [{ innerHTML: 'This website requires JavaScript.' }]
Is it possible set not only text, but with tags like.
noscript: [{ innerHTML: '<strong>This website requires JavaScript.</strong>' }]
Possibly you need to disable sanitazion: https://vue-meta.nuxtjs.org/api/#dangerouslydisablesanitizersbytagid
noscript: [{
innerHTML: "<strong>This website requires JavaScript.</strong>",
body: true,
vmid: 'test'
}],
__dangerouslyDisableSanitizersByTagID: {
test: ['innerHTML']
}
This not work ((
Are you using Nuxt.js by any chance? Then you need to use hid not vmid
Dear @pimlie, thanks.
Yes I use Nuxt.js, and hid work fine.
Most helpful comment
Are you using Nuxt.js by any chance? Then you need to use
hidnotvmid