title: vuejs repeat static html on @click
body: <p>I'm not sure if this is possible in VUEJS.</p>
  
  <p>I want to repeat an element a specific number of times (by passing a number on the <code>@click</code> of a button). Please see below sample code:</p>
  
  <pre><code>&lt;button @click="function"&gt; where it will tell how many time to repeat
  &lt;li v-for="item in (value from btn click)"&gt;test&lt;/li&gt;
  </code></pre>
  
  <p>when I add code like</p>
  
  <pre><code>&lt;li v-for="item in 4"&gt;
  </code></pre>
  
  <p>it works but I need this repeat (4) on click of button.</p>