mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
Fix coding style
This commit is contained in:
parent
dac47d43bf
commit
aab684f8a8
@ -20,16 +20,10 @@ export default {
|
||||
this.$slots.default &&
|
||||
this.$slots.default.length > 1
|
||||
) {
|
||||
throw new Error('[vue-no-ssr] You cannot use multiple child components')
|
||||
throw new Error('<no-ssr> You cannot use multiple child components')
|
||||
}
|
||||
return this.$slots.default && this.$slots.default[0]
|
||||
}
|
||||
return h(
|
||||
'div',
|
||||
{
|
||||
class: ['no-ssr-placeholder']
|
||||
},
|
||||
this.placeholder
|
||||
)
|
||||
return h('div', { class: { 'no-ssr-placeholder': true } }, this.placeholder)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user