Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include tailwind support as well #8

Open
vdwalia opened this issue Jan 31, 2024 · 1 comment
Open

Include tailwind support as well #8

vdwalia opened this issue Jan 31, 2024 · 1 comment
Labels
enhancement New feature or request for review

Comments

@vdwalia
Copy link

vdwalia commented Jan 31, 2024

Please check these out
https://www.datatables.net/examples/styling/tailwind.html

https://cdn.datatables.net/1.13.6/

So right now i am manually copying and pasting the code from the links, but it would much better we support tailwind as well.

Here i have successfully, implemented it in laravel

Screenshot 2024-02-03 at 4 22 19 PM

Please check this out : https://gist.github.com/vdwalia/1e0ab724aa0dd790d61b1469ab52f514

If it all make sense please do let me know and please please do let me know if the approach that i followed is okay or not.

@yajra
Copy link
Owner

yajra commented Feb 14, 2024

Great implementation and the approach you used is okay. It's the same approach I used on my adaption of Tailwind in one of my projects.

Will review the official tailwind css support from dataTables. Last I checked, it's not yet fully supported and I think the TailwindUI team declined the offer to support them. See https://datatables.net/forums/discussion/65775/integration-of-tailwind-css/p2 for details.

@yajra yajra added enhancement New feature or request for review labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request for review
Projects
None yet
Development

No branches or pull requests

2 participants