title: Get index within v-for using computed or method
body: <p>I was wondering if it is possible in vue to get the index of an object array directly within the v-for in and pass this value to a computed property or a method, similar to this here, or even a computed property</p>
  
  <pre><code>&lt;div v-for="(object, index) in objects(index)"&gt;&lt;/div&gt; 
  
  methods: {
     objects(index){
      const categoryId = Object.keys(this.data);
      return this.data[categoryId[index]].extras;
     } 
  }
  </code></pre>
  
  <p>I need to have the index as it is more convenient for me to return the correct value based on defined key, is there some way to achieve this? </p>