Vue.use(ServerTable, {}, false, 'bootstrap4')
useVuex
is a boolean indicating whether to use vuex
for state management, or manage state on the component itself. If you set it to true
you must add a name
prop to your table, which will be used to register a module on your store. Use vue-devtools
to look under the hood and see the current state.vue-router
or simply toggling the table with v-if set the preserveState
option totrue
theme
Use this option to select a CSS framework. Options:themes
folder as boilerplate:dist/vue-tables-2.min.js
. Copy the file into your project and import it:VueTables
object containing ClientTable
, ServerTable
and Event
as properties.