Vue.js question detail
How do you use v-for directive with a range?
You can also use integer type(say 'n') for v-for directive which repeats the element many times.
<span v-for="n in 20">{{ n }} </span>
It displays the number 1 to 20.
Vue.js question detail
You can also use integer type(say 'n') for v-for directive which repeats the element many times.
<span v-for="n in 20">{{ n }} </span>
It displays the number 1 to 20.