0
If you have to just output the array you can use this:
<div id="axiostest">
<div v-for="(item, index) in message" :data-testid="index">
<p class="text-danger">{{ item }} {{ index }}</p>
</div>
</div>
And you can do something you want with index^ {{index + 1}}, {{index * 2 }}, etc
And, as Estradiaz said, you get warn because counter++ occurs rerender
Source:stackexchange.com