spatie / vue-table-component

A straight to the point Vue component to display tables
http://vue-table-component.spatie.be
MIT License
588 stars 149 forks source link

Combine template slot and :formatter #173

Closed juanbrujo closed 5 years ago

juanbrujo commented 5 years ago

Any way to make this work?

<table-column show="state" label="Estado" :formatter="formatState">
  <template slot-scope="row">
    {{ row.state }}
  </template>
</table-column>

Now I'm:

<table-column show="state" label="Estado">
  <template slot-scope="row">
    {{ formatState(row.state) }}
  </template>
</table-column>
freekmurze commented 5 years ago

We don't use this package anymore in our own projects and cannot justify the time needed to maintain it anymore. That's why we have chosen to abandon it. Feel free to fork our code and maintain your own copy or use one of the many alternatives.