I can have 2 loops of v-for but that will mess up my order. I have googled and couldnt find anything, expect for angular which has a classodd and classeven. Is there something like that for vue ?
Fixed it. I used v-bind:class and just changed my webapi. Made it retun true or false and with it i was able to fix it.
http://vuejs.org/guide/class-and-style.html
I can have 2 loops of v-for but that will mess up my order
Just so you know, you can iterate group of things: <template v-for='...'>
Most helpful comment
Fixed it. I used v-bind:class and just changed my webapi. Made it retun true or false and with it i was able to fix it.
http://vuejs.org/guide/class-and-style.html