I’m sure I’m missing something stupid but I’m stucked with this error on my first component, maybe someone can help me:
I’m developing a package inside a laravel 7.1 app.
Livewire is reuired and installed in the app Laravel
Livewire components works in Laravel resources/view
I did register the component in my [packagename]Serviceprovider.php
But I have 2 issues that I’m sure are related to the same problem:
If I try to use Route::livewire(…whatever…) I get a “Attribute [livewire] does not exist.”
If I try to include my component inside blade using @livewire(‘path.to.component.component-name’) or @livewire(‘mypackage::path.to.component.component-name’) I get always Unable to find component: [***]
Someone can try to help me solve this, I was so excited in starting to use Livewire on my package and can’t wait to see it doing his “magic”.