vue + pushing data into data code example
Example: push values to data object in vue
let vm = this;
function getData (rss) {
rss.forEach(episodeData => {
// console.log(episodeData)
const data = {
'id': episodeData.created,
'desc': episodeData.description
}
vm.episodes.push(data)
})
}