Making Components

The make Command

It is highly recommended that you use the php artisan make:livewire command for all new components.

Here are a few examples of usage:

# Creates Foo.php & foo.blade.php
php artisan make:livewire foo

# Creates FooBar.php & foo-bar.blade.php
php artisan make:livewire foo-bar

# Creates Foo/Bar.php & foo/bar.blade.php
php artisan make:livewire foo.bar
← Previous Topic

Installation

Next Topic →

The render() Method