Open Filefabrik opened 8 months ago
I think config('livewire.class_namespace')
with livewire default value 'class_namespace' => 'App\\Livewire',
does not make sense in InterNACHI-Module.
may be it smarter to create in /confg/app-modules.php a 'livewire_location' => './' // in your modules src root.
good or bad way?
@inxilpro At the Moment i am on refactoring(local) your module-package with a lot of enhancements
My question: is there a way or do you wish my refactoring in module@next or something like that or is it better, that i make my own fork completly by myself as an own fork?
php artisan make:livewire MyDemoLivewireModule --module=[module name]
create the Livewire File into '/app-modules/my-demo-livewire-module/Http/Livewire/MyDemoLivewireModule' regardless what is configured in config('livewire.class_namespace')File should be during creation stored into '/app-modules/my-demo-livewire-module/Livewire/MyDemoLivewireModule' or whatever the str_contains(config('livewire.class_namespace') is.
https://github.com/InterNACHI/modular/blob/148cfedda25202f086a8fe58014250f860583af2/src/Console/Commands/Make/MakeLivewire.php#L5