Answer the question
In order to leave comments, you need to log in
How to execute once in VueJS v-for loop?
There is a v-for loop. How can I make style only apply to the first div?
Something like this
<div v-for="item in items" :style.once="padding: 10px">{{item.name}}</>
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