Vue.js v-repeat not working
<p>I'm trying to follow a tutorial on Vue.js, but the code for the first lesson isn't working for v-repeat. I'm trying to display the data in the tasks object:</p>

<pre><code>&lt;div id="tasks"&gt;
    &lt;div&gt;
        &lt;h1&gt;Tasks&lt;/h1&gt;
        &lt;ul class="list-group"&gt;
            &lt;li v-repeat="task: tasks"&gt;
                {{ task.body }}
            &lt;/li&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
    new Vue ({
        el: '#tasks',
        data: {
            tasks: [

                { body: 'Go to store', completed: false }
            ]
        }
    })
&lt;/script&gt;
</code></pre>