title: vue.js v-for iterate variable number of times
body: <p>I would like to iterate rows in a table based over a range. But all examples I've seen show how to do this for a constant for example,</p>
  
  <pre><code>&lt;div&gt;
    &lt;span v-for="n in 10"&gt;{{ n }} &lt;/span&gt;
  &lt;/di
  </code></pre>
  
  <p>How can I do this for a variable similar to this,</p>
  
  <pre><code>&lt;table&gt;
     &lt;tr v-for="(el, index) in form.repeat" :key="index"&gt;
        &lt;td&gt;hello&lt;/td&gt;
     &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>This variable form.repeat is set in a form on the page.</p>
  
  <p>Thanks</p>