[Vuejs]-What is Item index after destructring scoped slot in Vuetify Data Iterator?

0👍

index is passed outside each item object.

To get the index of each items, do this

    <v-flex 
        slot="item" 
        slot-scope="{item:{hobbies:hb},index}" 
        xs12="xs12"
        sm6="sm6"
        md4="md4"
        lg3="lg3"
    >
    </v-flex>

Leave a comment