sacha-meunier's avatar

sacha-meunier liked a comment+100 XP

2mos ago

@sacha-meunier hmmm not a bad idea!

sacha-meunier's avatar

sacha-meunier liked a comment+100 XP

2mos ago

@sacha-meunier I do agree with your suggestions but I think when we are using artisan we will need to use make in command when we are actually making new files. I think this is not the change in Livewire but may be a change in artisan. And I think you can also alias your own artisan command as you want, there is option for it in artisan. Such as you can make alias of php artisan serve to pas

sacha-meunier's avatar

sacha-meunier wrote a comment+100 XP

3mos ago

I've used livewire 4 beta since the start and I do have to admit that I love it. The combo Laravel + Livewire + Alpine is fantastic. The syntax is really simple to understand and figure out. The code is pretty and intuitive.

If I can just share my opinion on something, I'd say that the commands don't always feel super intuitive (at least for me).

For example,

  • if u create a layout, you use the command : artisan livewire:layout
  • if u create a page, you use the command : artisan make:livewire pages::post.create

It feels inconsistent to me as livewire can be a prefix and a suffix in the command.

Maybe, it would be cool if we could customize (idk if it's possible) the commands to be something like :

  • artisan livewire:layout
  • artisan livewire:pages post.create
  • artisan livewire:component button

I hope theses feedbacks may help or give ideas.

Thanks anyway for the amazing release of this V4 and have a great day.