Monday, June 6, 2022

Livewire | How To Install

Installing Livewire


  1. Open your Laravel project.
  2. Open new terminal.
  3. Type in composer require livewire/livewire.
  4. In any of your .blade.php files, include the livewire front-end assets.
  5. Put @livewireStyles in <head> tag.
  6. Put @livewireScripts at the end of the <body> tag.

That's it! Completely installed and ready to be used.

DGP: Smart but Stuck (Rajesh)

 Every smart person gets stuck. The smart person always try to hold on to their identity that they're smart. When that happens, they ten...