1. Home
  2. Vue
  3. Mounted

Mounted method lets you execute code once Vue is fully loaded and ready.

#vue
<script>
    new Vue({
        el: 'app',
        mounted() {
            console.log('Vue has mounted!')
        }
    })
</script>
copy
Full Vue cheatsheet