Livewire component and livewire styles and scripts not rendering on live server.
I have added Livewire load more button feature to an existing website built on Laravel and bootstrap but Livewire seams to not rendering on a live server.
@vincent15000 actually when i checked the composer.jsob file on production so livewire was listed in the dependencies section but it was not present in bootstrap/cache/services.php file but in local environment i can see livewire service provider listes in services.php file and i think i should manually install livewire on the production using composer.
@Behram Khattak It seems likely you have deployed the application in production a first time. Then you have added Livewire and you need now to add Livewire in production.
As Livewire is already installed in your local environment, it's necessarily present in the composer.json file.
In this case you need to run composer install in the console on your production server.
Installing Livewire manually via composer require livewire/livewire is not a good idea because you will have differences in your git management. In production you should only run git pull and nothing else.