How to render DocType inside Vue component?

Hi!

Is it possible to render DocType inside Vue.js component? If so, how to do this? If not, is there a way to render full DocType inside page using Page API functionality?

How did you get on with this? I’m wondering if I can render an existing doctype form as a dialog over another page rather than replace the page. For when you’re creating a doc from another but will go back to the original page.