export default {
name: "form-element",
render(h) {
let data = {
//.....................................
};
//.....................................
return h(component, data);
}
}
<form-element key="site">
<template slot="prepend-inner">
<img :src="`${form.site}/favicon.ico`">
</template>
</form-element>
export default {
name: "form-element",
render(h) {
let data = {
//.....................................
};
//.....................................
let slots = []
for(let slot in this.$slots) {
slots.push(h('template', {slot}, this.$slots[slot]))
}
return h(component, data, slots);
}
}