Preview:
1. first of all install livewire
composer require livewire/livewire
2. make livewire component
php artisan make:livewire HomeComponent
3. Make a folder in views named with layouts
4. then make file app.blade.php
5. Then write {{$slot}} where you want to render your livewire component
6. then write this code right before closing of head tag
  @livewireStyles
6. then write this code right before closing of head tag
  @livewireStyles
7. then write this code right before closing of body tag
  @livewireScripts
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter