<div id="app" v-cloak>
<div v-for="video in videos">
{{video}}
<hr/>
</div>
</div>
[v-cloak] {display: none}
let feed = 'https://www.youtube.com/feeds/videos.xml?channel_id=UC8KROrnEHSnnV3z5J_FoSIg';
let yql = `https://query.yahooapis.com/v1/public/yql?q=select%20entry%20from%20xml%20where%20url%20%3D%20'${feed}'%20&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys`;
const app = new Vue({
el:'#app',
data:{
videos:[]
},
created:function() {
fetch(yql)
.then(res => res.json())
.then(res => {
res.query.results.feed.forEach(o => {
this.videos.push(o.entry);
});
console.log(res.query.results.feed);
})
}
})
This Pen doesn't use any external CSS resources.