Open AhmedMub opened 2 years ago
Hi, @AhmedMub Did you publish the files?
With the command php artisan vendor:publish --tag="livewire-datatable-bs4"
If you have the original files by https://github.com/MedicOneSystems/livewire-datatables, please delete it and run the command
Thanks, @EmmanuelAyTuz for your response, yes I did publish php artisan vendor:publish --tag="livewire-datatable-bs4", I think that Views-BS4-Livewire-Datatable doesn't work well with MedicOneSystems/livewire-datatables installed on the system, because I tried install Views-BS4-Livewire-Datatable after installing the requirements which is MedicOneSystems/livewire-datatables, but installtion faild with error Installation failed, reverting ./composer.json and ./composer.lock to their original content.
(tested it on new Laravel livewire installation)
So I had to remove MedicOneSystems/livewire-datatables package via composer remove mediconesystems/livewire-datatables
and then installed the Views-BS4-Livewire-Datatable successfully with publish command php artisan vendor:publish --tag="livewire-datatable-bs4"
Then I removed Views-BS4-Livewire-Datatable pakcage so I can install mediconesystems/livewire-datatables package without publishing mediconesystems/livewire-datatables views
Thanks, @EmmanuelAyTuz for your response, yes I did publish php artisan vendor:publish --tag="livewire-datatable-bs4", I think that Views-BS4-Livewire-Datatable doesn't work well with MedicOneSystems/livewire-datatables installed on the system, because I tried install Views-BS4-Livewire-Datatable after installing the requirements which is MedicOneSystems/livewire-datatables, but installtion faild with error
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
(tested it on new Laravel livewire installation)So I had to remove MedicOneSystems/livewire-datatables package via c
omposer remove mediconesystems/livewire-datatables
and then installed the Views-BS4-Livewire-Datatable successfully with publish commandphp artisan vendor:publish --tag="livewire-datatable-bs4"
Then I removed Views-BS4-Livewire-Datatable pakcage so I can install mediconesystems/livewire-datatables package without publishing mediconesystems/livewire-datatables views
Thanks for reviewing and reporting ⭐, I'll check ASAP the mediconesystems/livewire-datatables package
Could you give more info? Laravel Version Php Version And a screenshot cmd or full error
I tried to use the BS4 views but it did not work as it should, what might be the reason that made it show like this?