title: Vue table in one loop html
body: <p>I have an array, with sizes of shoes and quantity each of them in shop, structure like this:</p>
  
  <pre><code>array = {
      36=&gt;1,   
      37=&gt;0,
      38=&gt;5,
      39=&gt;2
  }
  </code></pre>
  
  <p>In my table key in this table ( here 36, 37 ... ) are TH, and value is TD.
  I can't do this in one loop. I tried like this:</p>
  
  <pre><code>&lt;table class="table"&gt;
      &lt;tr&gt;
          &lt;th v-for="(quantity, key) in productSizes" :key='key'&gt;{{key}}&lt;/th&gt;
      &lt;/tr&gt;
  
      &lt;tr&gt;
      &lt;td&gt;Here should be quantity for each size&lt;td&gt;
      &lt;/tr&gt;
  
  &lt;/table&gt;
  </code></pre>
  
  <p>Is there a possibility to do this at once?</p>
  
  <p>Here is structure how it should look like (there is an input, because someone can change quantity).</p>
  
  <p><a href="https://i.stack.imgur.com/he5Dy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/he5Dy.png" alt="enter image description here"></a></p>