Skip to content

Commit f0eeaca

Browse files
committed
example: add falsy attr vlaue to ssr example
1 parent 1ef4108 commit f0eeaca

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

examples/ssr/App.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default function createApp () {
6969
return {
7070
title: 'Boring Title',
7171
htmlAttrs: { amp: true },
72-
bodyAttrs: { class: 'main-app' },
72+
bodyAttrs: { class: 'main-app', tabIndex: 0 },
7373
meta: [
7474
{
7575
skip: this.count < 1,
@@ -106,7 +106,14 @@ export default function createApp () {
106106
callback: this.loadCallback
107107
}
108108
],
109+
noscript: [{
110+
innerHTML: "<strong>This website requires JavaScript.</strong>",
111+
body: true,
112+
hid: 'test'
113+
}],
114+
109115
__dangerouslyDisableSanitizersByTagID: {
116+
test: ['innerHTML'],
110117
'ldjson-schema': ['innerHTML']
111118
}
112119
}

0 commit comments

Comments
 (0)