Vue 2.0 Hello World

HTML

<script src="https://unpkg.com/vue"></script>

<div id="app">
  <table>
    <thead></thead>
    <tbody>
      <tr v-for="item in items">
        <td>{{ item.name }}</td>
        <tr v-for="child in item.children">
          {{ child.name }}          
        </tr>
      </tr>
    </tbody>
  </table>
</div>

JavaScript

new Vue({
  el: '#app',
  data: {
    items: [{
      name: "Item 1",
      children: [{
				name: 'Child 1',
      }, {
      	name: 'Child 2',
      }],
    }, {
			name: 'Item 2',
      children: [{
      	name: 'Child 1',
      }, {
      	name: 'Child 2',
      }]
    }],
  }
})