I am using Vuejs for my project and I want to display a array. This is the data :
data() {
return {
people: [
{"name": "Emily","properties": ["nice","good"]},
{"name": "John","properties": ["bad","not good"]}
]
}
}
So I want that this data should be displayed like this :
<ul>
<li>Emily : <p>- nice</p><p>- good</p></li>
<li>John : <p>- bad</p><p>- not good</p></li>
</ul>
And my question is how can I do this in Vuejs dynamically?