mhmiton / laravel-modules-livewire

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.
MIT License
179 stars 33 forks source link

Invalid Route Action #43

Closed T3mmyKay closed 3 months ago

T3mmyKay commented 3 months ago

I am trying to use this package, I didn't change the config in order to avoid errors but when I am trying to use full page components, I keep getting invalid route action. image This is my class component.

image The web.php of my module. I am using laravel 11 along with the latest version of laravel modules

mhmiton commented 3 months ago

@T3mmyKay Please update this package to v3 and try again.

T3mmyKay commented 3 months ago

I am trying to use livewire volt with modular namespace

Volt::route('units','products::units')->name('units.index');`

I am getting component not found

mhmiton commented 3 months ago

@T3mmyKay You can try with the component's full class name. Like this -

Volt::route('about', Modules\Blog\Livewire\Pages\AboutPage::class);