livewire / volt

Volt is an elegantly crafted functional API for Livewire.
https://livewire.laravel.com/docs/volt
MIT License
327 stars 19 forks source link

[1.x] Adds `--class` option to `make:volt` command #43

Closed nunomaduro closed 1 year ago

nunomaduro commented 1 year ago

This pull request adds --class option to volt:make command:

<?php // php artisan make:volt counter --class

use Livewire\Volt\Component;

new class extends Component {
    //
}; ?>

<div>
    //
</div>