I am passing JSON that is in one of folders over router-view in App.vue. The component is receiving that JSON over props, I can no problem display data that I receive. But when I want to bind it to image :src , image is not printing. In console.log there is no error.
<template>
<div>
<div v-for="(item,index) in userRepo" :key="index">
<img :src="item.imageLink" alt="">
{{item.imageLink}}
</div>
</div>
</template>
<script>
export default {
props:['person'],
data(){
return {
userRepo: this.person[0].githubRepository
}
}
}
</script>
When I open elements, there is normal insert