From f0eeacaa02f842f7835486a31c7bf1d3a816e1a3 Mon Sep 17 00:00:00 2001 From: pimlie Date: Sun, 5 Apr 2020 12:19:08 +0200 Subject: [PATCH] example: add falsy attr vlaue to ssr example --- examples/ssr/App.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/ssr/App.js b/examples/ssr/App.js index 867eb04..af1be2d 100644 --- a/examples/ssr/App.js +++ b/examples/ssr/App.js @@ -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: "This website requires JavaScript.", + body: true, + hid: 'test' + }], + __dangerouslyDisableSanitizersByTagID: { + test: ['innerHTML'], 'ldjson-schema': ['innerHTML'] } }