I'm using Laravel Nova and looking for a way to customize breadcrumbs.
I want to add icons and also change the text of some pages.
I've checked the Nova documentation, but I couldn't find an official way to achieve this.
In Nova it can only do Nova::withBreadcrumbs();
to enable breadcrumbs and the they will be auto generate for every pages with a common setup, such as:
Home / Create {resource} // for Create resource
Home / Edit {resource id} // for Edit resource
If I want to add an icon for the text Home
, I can't do it.
If in some specific pages, for example I disabled all the inputs because that resource can't be edit. I don't want Edit {resource id}
but View {resource name}
, I can't do it either.