riteshsingh1 / livewire-crud

Basic Crud Generator (With Code Files, like GII (YII2)) Using Laravel, Livewire and Tailwind CSS And Bootstrap
Other
29 stars 16 forks source link

Change to bootstrap 5 template #4

Open diorz38 opened 3 years ago

diorz38 commented 3 years ago

Default generated balde was tailwind, how to change to bootstrap 5

diorz38 commented 3 years ago

i try to change template in config to 'bootstrap' but that for bootstrap 4, and but modal still not show up when use bootstrap 5.

and sometime generated view file was not complete, missing all model's field in tbody, like this:

                        <tbody class="bg-white divide-y divide-gray-200">
                            @foreach($rows as $row)
                            <tr>
                        </tbody>
riteshsingh1 commented 3 years ago

Noted, Currently this support of bootstrap 4 only,

Bootstrap 5 will be released soon.

ehsantalkhouncheh commented 3 years ago

Hi If we want just tailwind should we do anything special i mean default them is tailwind right?

damodar-bhattarai commented 3 years ago

Hi If we want just tailwind should we do anything special i mean default them is tailwind right?

Yes. Default one is tailwind. No need to do anything if you want tailwind. For bootstrap 4 , publish config file and change value of template variable to "bootstrap"