v-for reverse vue 3 code example
Example 1: vuejs v-for reverse
<li v-for="item in items.slice().reverse()">
//do something with item ...
</li>
Example 2: v-for i down
<div id="app">
<template v-for="n in 10"><p>{{ 10 - (n-1) }}</p></template>
</div>