The task at hand involves adding an HTML element from Array Value to the Document Object Model
template: {
0: {
h1: '<h1>Hi</h1>'
},
1: {
h2: '<h2>Hi</h2>'
},
2: {
h3: '<h3>Hi</h3>'
}
}
I am utilizing a VueJS For Loop:
<div v-for="temp in template">
{{ temp.h1}}
</div>
Resulting DOM :
<h1>hi</h1>