How to use Breadcrumbs in Laravel-modules #1763
-
Using the davejamesmiller/laravel-breadcrumbs package, I encountered a problem when creating modularity in the project, using Laravel-modules. I tried to use standard render to display the page article, but unfortunately Breadcrumb does not understand the name of the module... Has anyone encountered such a problem, is there any way to solve this? Excample: I have module Settings with structire
My Modules\Settings\App\Livewire\Localization\Index.php
view resources/livewire/localization/index.blade.php
file Modules/route/breadcrumbs.php
but i have problem Breadcrumb not found with name "settings::livewire.localization.index'" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The solution was obvious. The breadcrumbs.php file should be located directly in the main routes directory |
Beta Was this translation helpful? Give feedback.
The solution was obvious. The breadcrumbs.php file should be located directly in the main routes directory