19 lines
387 B
Vue
Raw Permalink Normal View History

2025-09-05 14:59:21 +08:00
<script>
import { defineComponent, h } from "vue";
export default defineComponent({
name: "DocumentDrivenEmpty",
props: {
value: {
type: Object,
required: true
}
},
render({ value }) {
return h("div", void 0, [
h("p", "Document is empty"),
h("p", `Add content to it by opening ${value._source}/${value._file} file.`)
]);
}
});
</script>