in packages/vue/vue-application/src/Application.js [64:86]
render(h) {
const _this = this
const loadingContent = this.$slots.loading
Vue.customElement(this.id, {
render: function (createNode) {
const innerContent = _this.subLoading ? loadingContent : this.$slots.default
if (!_this.removeBodyTag) {
return createNode('body', innerContent)
}
return innerContent
}
});
if (this.error) {
if (this.$slots.error) {
return this.$slots.error
}
return h('pre', { style: { color: 'red' }}, this.error.stack)
}
return h(this.id, {
class: this.class,
ref: 'el'
})
},