I am interested in learning how to access the index of elements outside of a v-for loop
<template>
<div class="hero-text">
<h4>0{{ index + 1 }}/{{ homePageImageList.length }}</h4>
</div>
<VueSlickCarousel id="rar" v-bind="settings" ref="carousel">
<div v-for="(item, index) in homePageImageList" :key="index" class="hero-image"
:style="{ backgroundImage: 'url(' + item.imageURL + ')' }">
</div>
</VueSlickCarousel>
</template>