You can also use integer type(say ‘n’) for v-for directive which repeats the element many times.
1 2 3 | <div> <span v-for="n in 20">{{ n }} </span> </div> |
It displays the number 1 to 20.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.