JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://unpkg.com/[email protected]/dist/vue.js"></script>
<div id="app">
  
</div>

JavaScript

const vm = new Vue({
  template: '<div>I\'m mounted</div>',
  created(){
    console.log('Created');
  },
  mounted(){
    console.log('Mounted');
  }
});

setTimeout(() => {
   var div = document.createElement('div');
   div.id = 'async-div';
  document.body.appendChild(div); 
  vm.$mount('#async-div');
},1000)