To create "breadcrumbs", the Breadcrumbs
component is used.
make(array $items = [])
$items
- a list of "breadcrumbs", where the key is the link to the resource, and the value is the name of the item.
use MoonShine\UI\Components\Breadcrumbs; Breadcrumbs::make([ '/' => 'Home', '/articles' => 'Articles',]),
<x-moonshine::breadcrumbs :items="[ '/' => 'Home', '/articles' => 'Articles', ]"/>