Skip to content
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

BS4 views not working properly #31

Open
AhmedMub opened this issue Mar 15, 2022 · 3 comments
Open

BS4 views not working properly #31

AhmedMub opened this issue Mar 15, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@AhmedMub
Copy link

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?

image

@AhmedMub AhmedMub changed the title Installation failed, reverting ./composer.json and ./composer.lock to their original content. BS4 views not working properly Mar 15, 2022
@EmmanuelAyTuz
Copy link
Owner

EmmanuelAyTuz commented Mar 16, 2022

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

@AhmedMub
Copy link
Author

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

@EmmanuelAyTuz
Copy link
Owner

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 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

@EmmanuelAyTuz EmmanuelAyTuz added the bug Something isn't working label Mar 16, 2022
@EmmanuelAyTuz EmmanuelAyTuz self-assigned this Mar 16, 2022
@EmmanuelAyTuz EmmanuelAyTuz pinned this issue Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants