mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-17 00:10:33 +03:00
feat: add option for prepending (no)script to body (#410)
* feat: add option for prepending (no)script to body * test: use browser getUrl * refactor: use pbody insteadn of pody * test: add prepend/append body generator test * test: add prepend body updater test * chore: remove typo
This commit is contained in:
Vendored
+1
@@ -27,6 +27,7 @@ export default {
|
||||
{ innerHTML: '{ "more": "data" }', type: 'application/ld+json' }
|
||||
],
|
||||
noscript: [
|
||||
{ innerHTML: '{ "pbody": "yes" }', pbody: true, type: 'application/ld+json' },
|
||||
{ innerHTML: '{ "body": "yes" }', body: true, type: 'application/ld+json' }
|
||||
],
|
||||
__dangerouslyDisableSanitizers: ['noscript'],
|
||||
|
||||
Reference in New Issue
Block a user