Instalation:
npm i @dcorrea-estrav/vue3-datatables
Require the script:
import {ServerTable, ClientTable, Event} from 'vue3-datatables';
Register the component(s)
app.use(ClientTable, [options = {}], [useVuex = false], [theme = 'tailwind'], [swappables = {}]);
The above code is only for the purpose of documentation. The actual code would look something like this:
app.use(ServerTable, {}, false, 'tailwind')
Last updated 1 year ago