How to implement Vue in Form Doctype

I Have a Vue component and I want to use it in doctype form, how can I do it?

I don’t know if I understand correctly what you want, but you can use this script to inject PetiteVue to the form

var s = document.createElement('script');
s.setAttribute('src','https://unpkg.com/petite-vue');
s.onload = () => {
    console.log(PetiteVue)
}
document.body.appendChild(s);

Injecting scripts like this is not safe at all, so use with caution