Skip to content

[Feature Request]: Documentation Tailwind PurgeΒ #2287

@hleon0

Description

@hleon0

Overview

It would be nice if the documentation also showed how to avoid Tailwind Purge to remove styles in Tailwind v4.

Detailed explanation

With Tailwind v4 there is no more tailwind.config.js, and I had to add
@source '../../vendor/rappasoft/laravel-livewire-tables/resources/views/**/*.blade.php';
to the app.css to avoid Tailwind Purge from removing styles.
I didn't know about this at first so it would've been nice if this was also in the documentation, not just how to do it in v2 and v3.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions