Reputation: 149
It's safe to append an URL in Vue using a computed property if the link is provided by an external API service?
For example:
<img :src="imgURL">
VueJS
computed: {
imgURL(){
return `https://exampleur.com${poster.4by4}`
}
}
Upvotes: 1
Views: 261
Reputation: 793
I am here to confirm that you can use computed property as image source and it is safe
Upvotes: 1