livewire:convert

Convert a Livewire component between single-file and multi-file formats

Options

  • emoji - Use emoji in file/directory names (true or false) Required
  • mfc - Convert to multi-file component Optional
  • sfc - Convert to single-file component Optional
  • test - Create a test file when converting to multi-file (if one does not exist) Optional

Arguments

  • name - The name of the component Required
php artisan livewire:convert [--sfc] [--mfc] [--test] [--emoji EMOJI] [--] <name>