2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-08 07:42:25 +03:00

example: add falsy attr vlaue to ssr example

This commit is contained in:
pimlie
2020-04-05 12:19:08 +02:00
parent 1ef41080e7
commit f0eeacaa02
+8 -1
View File
@@ -69,7 +69,7 @@ export default function createApp () {
return {
title: 'Boring Title',
htmlAttrs: { amp: true },
bodyAttrs: { class: 'main-app' },
bodyAttrs: { class: 'main-app', tabIndex: 0 },
meta: [
{
skip: this.count < 1,
@@ -106,7 +106,14 @@ export default function createApp () {
callback: this.loadCallback
}
],
noscript: [{
innerHTML: "<strong>This website requires JavaScript.</strong>",
body: true,
hid: 'test'
}],
__dangerouslyDisableSanitizersByTagID: {
test: ['innerHTML'],
'ldjson-schema': ['innerHTML']
}
}