diff --git a/lib/app/components/no-ssr.js b/lib/app/components/no-ssr.js index 6f69341528..8f400536ea 100644 --- a/lib/app/components/no-ssr.js +++ b/lib/app/components/no-ssr.js @@ -24,6 +24,13 @@ export default { } return this.$slots.default && this.$slots.default[0] } - return h('div', { class: { 'no-ssr-placeholder': true } }, this.placeholder) + + return h( + 'div', + { + class: ['no-ssr-placeholder'] + }, + this.$slots.placeholder || this.placeholder + ) } }