xxxxxxxxxx
sudo php artisan make:livewire ShowPosts
xxxxxxxxxx
// for simple component
php artisan make:livewire componentName
// for Inline components
php artisan make:livewire componentName --inline
// If you wish to create components within sub-folders, you can use the following
php artisan make:livewire Post\\Show
php artisan make:livewire Post/Show
php artisan make:livewire post.show
composer require livewire/livewire
xxxxxxxxxx
php artisan make:livewire admin/users/list-users
COMPONENT CREATED �
CLASS: app/Http/Livewire//Admin/Users/ListUsers.php
VIEW: E:\xampp\htdocs\laravel_livewire\resources\views/livewire/admin\users\list-users.blade.php