I would like the timestamp fields whose date is in the future to be displayed differently. The use case is planned blog posts.
I tried to create a display extension and copied the core extension (/directus/tree/main/app/src/displays/datetime) for this purpose.
My problem is, how do I access the Directus core Vue components from an extension?
In directus/blob/main/app/src/displays/datetime/datetime.vue
import UseDatetime, { type Props as UseDatetimeProps } from “@/components/use-datetime.vue”;
…
<use-datetime v-slot=“{ datetime }” v-bind=“$props”>