3๐
โ
v-html
is designed for inserting raw HTML fragments into the code. Vue does not interfere with it at all.
In order to achieve what you want, you need a full build of Vue (i.e. compiler included) and manually instantiate the Vue instance for the template.
For example:
var res = Vue.compile(axiosHTML)
new Vue({
data() {
// Your reactive properties
return {};
},
render: res.render,
staticRenderFns: res.staticRenderFns
}).$mount(/* htmlElementReference */);
๐คHarshal Patil
Source:stackexchange.com