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.

No comments:

Post a Comment

Komen atau sebarang pertanyaan di sini :)

WordPress #3 | How to Change Website URL

Hi. Today we're gonna look at how to change your website URL in case you messed up. In this case, yes, I messed up. That is why this pos...