make:volt

Create a new Volt component

Options

  • class - Create a class based component Optional
  • force - Create the Volt component even if the component already exists Optional
  • functional - Create a functional component Optional
  • pest - Generate an accompanying Pest test for the Volt component Optional
  • phpunit - Generate an accompanying PHPUnit test for the Volt component Optional
  • test - Generate an accompanying Test test for the Volt component Optional

Arguments

  • name - The name of the volt component Required
php artisan make:volt [--class] [--functional] [-f|--force] [--test] [--pest] [--phpunit] [--] <name>