1👍
✅
This is what your are looking for
<div v-if="category && category.sub_category.length > 0">
<td v-for="(subCategory, index) in category.sub_category" :key="index">
{{subCategory.subcategory_name}}
<a href="" @click.prevent="showAssignModal(category)">
{{subCategory.sub_sub_category.length}}
</a>,
</td>
</div>
But as @Estus Flask mentioned, this is not react, you should learn some fundamentals of vue first.
Source:stackexchange.com