1. Home
  2. Vue
  3. Mounted
#vue

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
Full Vue cheatsheet
Sitemap Git repository