Answer the question
In order to leave comments, you need to log in
How in vue.js, in the tsx component, display elements in a loop?
tsx components are used, i.e. function is used to render the component
render() {
return (
<div>
<div v-for={weekDay in this.arWeekDays} >
<div>{weekDay}</div>
</div>
</div>
)
}
<div>
<div v-for="weekDay in arWeekDays" >
<div>{{weekDay}}</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question