Skip to content

Commit

Permalink
example: add falsy attr vlaue to ssr example
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie committed Apr 5, 2020
1 parent 1ef4108 commit f0eeaca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/ssr/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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']
}
}
Expand Down

0 comments on commit f0eeaca

Please sign in to comment.