I've bulid a small app that get data from http://open-notify.org/Open-Notify-API/ISS-Pass-Times/
and dispalys it in a table. Since i'm new to vue i don't understand why i can't set the data to the view. I've created a dummy component calls "cell" which looks like this :
Vue.component("cell", {
template: '<ul>'
+'<li v-for="foo of apiData">'
+' {{foo}} '+
'</li></ul>',
props:['apiData']
})
In the view i've called it like this :
{{apiData|json}} // trying to get a preview of data
<cell></cell> // calling component
And keep getting an empty object - i guess it's because the api call is taking a few seconds more than the markup is loaded....