bastinald / laravel-livewire-modals

Dynamic Laravel Livewire Bootstrap modals.
66 stars 31 forks source link

Support for Laravel 10? #20

Open jakemarchant opened 1 year ago

rik43 commented 1 year ago

I found several forks of this repository with corrected compatibility. simply remove bastinald/laravel-livewire-modals and add, for example (this is not mine) composer require abovesky/laravel-livewire-modals There is no need to change anything else.

Also, if you have time to rewrite the code, it makes sense to consider newer and more functional components, for example. https://github.com/wire-elements/modal

jakemarchant commented 1 year ago

Thanks! I did have a Google when I opened the ticket but couldn't find anything useful so ended up making my own package, never thought to check the forks!

I did have a look at the Wire Elements/Modal and it looks great but I am not a fan of Tailwind - I know unpopular opinion!

rik43 commented 1 year ago

its allow to change css framework,

The base modal is made with TailwindCSS. If you use a different CSS framework I recommend that you publish the modal template and change the markup to include the required classes for your CSS framework.

see https://github.com/wire-elements/modal#tailwindcss

I use tailwind, but not everywhere

jakemarchant commented 1 year ago

I'll give it a look - thank you