Skip to content

humweb/inertia-vue-table

Repository files navigation

Inertia Vue Table

Getting Started

This section will help you set up the frontend components

Step. 1: install package

Laravel install

composer require humweb\inertia-table

or

Go Adapter install

go get github.com/humweb/inertia-go

Checkout https://github.com/humweb/inertia-go for mor info


frontend package

// Laravel
npm i [email protected]

// Go
npm i inertia-vue-table

Step. 2: Import component and mixin

import {Table, HasInertiaTable} from 'inertia-vue-table';

Add mixin to your component

mixins: [HasInertiaTable]

Step. 3: Add component to your template

 <Table
    :records="records"
    :pagination="pagination"
    v-model="tableData"
/>

License

The MIT License (MIT). Please see License File for more information.