Skip to content

Installation

You can install the Livewire Tables package via composer.

sh
composer require ramonrietdijk/livewire-tables

Tailwind Configuration

INFO

You can skip this step if you are planning to customize the views.

This package does not ship with any assets except views. Therefore, you will have to add the views to your tailwind configuration.

js
/** @type {import('tailwindcss').Config} */
module.exports = {
    content: [
        // ...

        "./vendor/ramonrietdijk/livewire-tables/resources/**/*.blade.php"
    ]
}

Publishing Views

To make the tables blend into the style of your project, you may wish to make changes to the layout. This can be done by publishing the views and customize them any way you like.

sh
php artisan vendor:publish --provider="RamonRietdijk\LivewireTables\ServiceProvider" --tag=views

Released under the MIT License