[Vuejs]-Vue.js rewriting orderBy Filter in v-for

1👍

<li class="day" v-for="day in orderedDays">
computed: {
  orderedDays: function () {
    return _.orderBy(this.days, ['unix'], ['asc'])
  }
}

Leave a comment