Use Vue component as a modal with Interface Method

can we use a vue component as a modal template instead of index.html ?

client.interface.trigger("showModal", {
        title: "Sample Vue Modal",
        template: **vueComponent**
 })