title: How to console.log an item inside a v-for loop in Vue
body: <p>I can't figure out how to do a <code>console.log</code> to see what item is in the <code>ul</code> as its being passed.</p>
  
  <pre><code> &lt;div v-for="(item, index) in todos" :key="index"&gt;
       &lt;ul v-if="item" :load="console.log(item)"&gt;
           &lt;li v-for="(value, key) in item" :key="key"&gt;
              &lt;label v-bind:for="key"&gt;{{ key }}&lt;/label&gt;
              &lt;div v-bind:id="key"&gt;{{ value }}&lt;/div&gt;
           &lt;/li&gt;
       &lt;/ul&gt;
   &lt;/div&gt;
  
   var vm = new Vue({
      el: '#components-demo',
      data: {
          todos: [
              newData
          ]
      }
   })
  </code></pre>