0👍
✅
Use 0
index to get value since it’s property of nested object inside an array.
<li>{{ x.vegetable[0].vegetableName }}</li>
<!-- --^^^-- -->
Source:stackexchange.com