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:
+8
-1
@@ -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']
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user