How do you use v-for directive with a range?

Posted by Jennifer | Updated on

You can also use integer type(say ‘n’) for v-for directive which repeats the element many times.

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.

Related Questions & Answers