I think this will be the most readable (prefix added because the class cannot start with a digit).
<li v-for="(item, index) in items" :class="['index--${index}']"></li>
I also use an array because it always distracts me.
:class="'index--${index}'"
source
share