1. Home
  2. Vue
  3. New vue instance
#vue

Create a new Vue instance.

<script>
    new Vue({
        el: "#app",
        data: {
            // Data object
        },
        methods: {
            // Methods object
        }
    });
</script>
copy
Full Vue cheatsheet
Sitemap Git repository