mounted
Mounted method lets you execute code once Vue is fully loaded and ready.
<script>
new Vue({
el: 'app',
mounted() {
console.log('Vue has mounted!')
}
})
</script>
copy