in my Vue JS project i wanted to show data from API and its working good, my only problem is when i showed {{flat.status}} below in my code i wanted to play with CSS for ex: if status==Available let text color be green , and when status==Sold let text color be red and etc ..
is there a way to do it?
<b-th v-for="(flat, index) in Building.flats" :key="index" >
<p> {{flat.status}} </p>
</b-th>