I know how to create one element in declarative way. Ex:
<v-btn>hello</v-btn>
And i know how to create a bunch of repeated elements in declarative way. Ex:
<v-btn v-for="index in 10" :key="index">{{ `hi! ${index}` }}</v-btn>
But I dont found a way to create one element in programmatical way.
I just want to do : "let el = new Element()"
And then: DOM.putNewElement(el)
I dont found how to do this on vue documentation and I want to know if is a "way of be" of vue. Can you tell me what i'm miss?
I have been try all solution on internet but nothing works
v-ifset to false, then programmatically "create" the element by switching thev-ifto true. combine with dynamic components<component :is=you then have both dynamic and programmatic creation of elements.