-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
TailwindCSS support #3044
Comments
Thanks for the heads up! I'm also looking forward to the official TailwindCSS support along with the Editor. Had rough days way back implementing my own version of it. I was planning to publish it at https://github.com/yajra/datatables.net-tailwindcss but didn't push through with it ^_^ DataTablesEditorAnyways, I will try to have something setup for the official version once it's out of Tech Preview I guess. |
Hello, thanks for your reply! I should point you to a forum thread that I found yesterday after writing this post here: https://datatables.net/forums/discussion/comment/222861/#Comment_222861 Regarding your 'homebrew' implementation: yes, I've been wondering if I could do this myself too, but it's easy to get lost in the details when you're developing; you don't just need tables for an app, and you simply can not be building all the pieces yourself as long as you're not part of a big team. So basically I was just looking for a good implementation of tables for Laravel, and there are one or two candidates, but I've known datatables.net for a long time now and that makes it more attractive. The only drawbacks are the dependancies. I also dearly wish to use Tailwind, because I found Flowbite, which is, simply put, a free collection of GUI components in TailwindCSS. Have a look here: https://flowbite.com/docs/components/tables/ By the way, there's one more question I'd like to ask you. I'm relatively new to the Laravel ecosystem, so please don't be surprised if I ask for something obvious: Anyway, thanks for your positive response! I would be very happy if datatables would work with Tailwind someday! |
Thanks for the thread, I am also following and aware of it.
Yes, added for quick bootstrap setup with Laravel Mix if I recall correctly. |
Yes, I also played with this some time ago. Will re-think my tailwindCss support when I got the chance. Flowbite is also my latest choice to follow for styles if I'm going to support this. |
I finally had the chance to play with tailwindcss again, see https://github.com/yajra/laravel-datatables-tailwind-experiment. Integration script https://github.com/yajra/laravel-datatables-tailwind-experiment/blob/main/resources/js/dataTables.tailwindcss.js |
Hello,
no problem but a feature request:
I am a fan of this project, but I tend to not use Bootstrap anymore in favour of TailwindCSS. Now I see there is a tech preview for TailwindCss support in datatables.net, see https://datatables.net/examples/styling/tailwind.html
Can you please add support for this? I guess you would have to adapt laravel-datatables-vite to load different packages, and the crux is that these files are not yet available through composer, I suppose.
But maybe the developer of datatables, Allan, is willing to help.
Thank you!
Kind regards, Tom
The text was updated successfully, but these errors were encountered: