LarawireGarage / larawire-modals

Modal window with Livewire 3 + Alpinejs with Bootstrap, Tailwind
1 stars 0 forks source link

[BUG] artisan command isn't creating the Class file :( #6

Open fronbow opened 3 weeks ago

fronbow commented 3 weeks ago

Hiya

Thanks for answering my previous query :)

I've just updated, and now I can't get php artisan make:modal MyModal to create the class file, it's creating the view files okay, just not the component class file. Luckily I've got one I can c+p from before I updated, but it would be nice for your lib to work again :)

Cheers matey

fronbow commented 3 weeks ago

Further to this I've worked out that the command is creating the file but on linux it's enclosed in single quotation marks, so in my app directory I had a file called 'Livewire\Modals\AddClientModal.php' which obviously wasn't in the Livewire\Modals directory as the single quotes were a part of the filename!

LarawireGarage commented 3 weeks ago

Further to this I've worked out that the command is creating the file but on linux it's enclosed in single quotation marks, so in my app directory I had a file called 'Livewire\Modals\AddClientModal.php' which obviously wasn't in the Livewire\Modals directory as the single quotes were a part of the filename!

Oh My bad, I working on windows platform. So I didn't test with Linux platform. I checked by installing fresh Laravel project and install the larawire-modal package on windows. It worked fine. I will look into it for Linux platform. Thanks for noticing that and create this issue.... ❤️