kdion4891 / laravel-livewire-forms

A dynamic, responsive Laravel Livewire form component with realtime validation, file uploads, array fields, and more.
243 stars 54 forks source link

Would you accept a Tailwind theme? #15

Open tanthammar opened 4 years ago

tanthammar commented 4 years ago

I have refractored all views to use Tailwind css. Would you consider adding them to this package? My thought is to add an .env var to specify a theme. "Bootstrap" or "Tailwind".

Thank you for this package it is a huge time saver!!!

lalov commented 4 years ago

Sounds like a great idea! I would love a Tailwind theme. Maybe a pull request, or could you publish your files?

Ismail777 commented 4 years ago

Will stop what I'm doing and wait for this xD

weppami commented 4 years ago

I have refractored all views to use Tailwind css. Would you consider adding them to this package? My thought is to add an .env var to specify a theme. "Bootstrap" or "Tailwind".

Thank you for this package it is a huge time saver!!!

Hi Tina, are you still willing to PR on that ? Thanks !!

tanthammar commented 4 years ago

I did, but I refractored it in ways that made it incompatible with this package. Also added an additional KeyVal field for flat key value based db fields. (Same as Laravel Nova KeyVal field). I also have an "SPA" mode to display the form directly via Route::livewire.

I am using it in a live project but I have not written needed tests.

Have not reported back here because I did not have the time to change the documentation. But feel free to use it but check the source code for the other params I added to the package.

https://github.com/tanthammar/tall-forms

tanthammar commented 4 years ago

The package is now on v2 and fully documented.

zcwilt commented 3 years ago

For those wanting an interim solution can recommend tailwindo https://github.com/awssat/tailwindo