Warning!
This branch is the beta release of v2.0 of Vuetable-2
You can find documentation for v2.0 of Vuetable-2 here
The tutorial for v2.0 is in the work, so you'll have to wait until I can find the time to finish it, sorry.
I've created a bunch of examples in the CodeSandbox, please have a look.
If you any question, please post your questions in the "Issues" section of this Q&A repo. Be sure to put the link to the appropriate CodeSandbox in question, or the one that you forked.
- Please see the release note.
- The
icons
prop of VuetablePagination is now moved into thecss
prop object. See this codepen.
npm install vuetable-2@next --save-dev
Note
This has not been test thoroughly in this beta version, and any help would be much appreciated.
// vuetable-2 dependencies
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.16/vue.min.js"></script>
// vuetable-2
<script src="https://unpkg.com/vuetable-2@next"></script>
Vue.use(Vuetable)
The .use
from above will register all the components globally.
function install(Vue){
Vue.component("vuetable", Vuetable);
Vue.component("vuetable-pagination", VuetablePagination);
Vue.component("vuetable-pagination-dropdown", VuetablePaginationDropDown);
Vue.component("vuetable-pagination-info", VuetablePaginationInfo);
}
Also you have the ability to access certain components if you need them:
Vuetable: Vuetable.default/Vuetable.Vuetable,
VuetablePagination: Vuetable.VuetablePagination,
VuetablePaginationInfo: Vuetable.VuetablePaginationInfo,
VuetablePaginationDropdown: Vuetable.VuetablePaginationDropdown
Any contribution to the code must be done to the next
branch.
Vuetable is open-sourced software licensed under the MIT license.