[Vuejs]-Vue – How to render a table with two data per tr

0👍

It’s a CSS problem, you just render the table normally. The key CSS is:

tr {
  float: left;
}
tr:nth-child(2n+1) {
  clear: left;
}

See this example: http://codepen.io/CodinCat/pen/peKeNw?editors=0110

Leave a comment