1. Home
  2. Vue
  3. New vue instance

Create a new Vue instance.

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