v-fetch-datatable

Vuetify upgraded v-datatable for server endpoints

Usage no npm install needed!

<script type="module">
  import vFetchDatatable from 'https://cdn.skypack.dev/v-fetch-datatable';
</script>

README

Vue component v-fetch-datatable

https://github.com/praveenpuglia/vuetify-daterange-picker/blob/master/package.json

Build Status License: MIT

Vuetify upgraded v-datatable for server requests

Use for easy server requests. Just pass your api methods and headers to component and use!

Features

  • Server change pagination, sort, perpage - Just pass api methods
  • Settings module - Reorder, pin and hide colums. And it will be cached to local storage.
  • Add custom search field - Pass your search fields via slots

Requirements

  • Vuetify 2.x
  • Vue 2.x

Installation

Install package

npm install --save v-fetch-datatable

or

yarn add v-fetch-datatable

Local

component.vue

<script>
import VFetchDatatable from 'v-fetch-datatable'

export default {
  components: { VFetchDatatable },
}
</script>

Global

main.js

import Vue from 'vue'
import VFetchDatatable from 'v-fetch-datatable'

Vue.use(VFetchDatatable)

Welcome to contribute!

License

MIT © Komarov Roman