Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.5k stars 221 forks source link

php artisan powergrid:create fails to create a working collection based component #191

Closed uhexos closed 2 years ago

uhexos commented 2 years ago

Describe the bug

Livewire\Exceptions\ComponentNotFoundException
Unable to find component: [products-vendor-data-tables]

Same thing happens if you move the component into a sub-directory manually. However if creating a model based component it works as intended. To Reproduce run php artisan powergrid:create enter name as Products.VendorDataTables and select Collection instead of model. try to use component in template. Laravel version (exactly):

Alpine version:

Theme:

Screenshots (This helps to understand better)

Do you have any idea how we can fix it?

luanfreitasdev commented 2 years ago

Thanks for the bug report.

It really happened. I've already done the correction and will go up in the next release.

image