Binding Props in VueJs Components
Passing data to VueJs components by binding data to props - http://coligo.io
HTML
<script src="https://cdn.jsdelivr.net/vue/1.0.16/vue.js"></script>
<div id="app">
<post :list="[{title: 'a title', author: 'a author', content: 'content a'}, {title:'another title', author: 'another author', content: 'content b'}]"></post>
</div>
<template id="post-template">
<div v-for="post in list">
<h1>{{ post.title }}</h1>
<h4>{{ post.author }}</h4>
<p>{{ post.content }}</p>
</div>
</template>
JavaScript
Vue.component('post', {
template: '#post-template',
props: ['list']
});
var vm = new Vue({
el: '#app',
});