I'm trying to dynamically append vue components to my app using jquery. But nothing happens and appended element not rendering.
<div id="app">
</div>
<script>
Vue.component('my-component', {
template: '<p>This is component</p>'
});
var Vue = new Vue({
el: '#app'
});
$(document).ready(function(){
$('#app').append('<my-component></my-component>');
})
</script>
My desired result is that when appending <my-component></my-component> to #app, That become to specified template.