How to create submenu?
-
I can add a menu in admin panel.But i didn't get the idea how to create submenu in side a manu.
-
You can add the submenu items as children in your config/menu.php where the key is {parent menu}.{sub item}, for example if you wanted to add another item in the catalog sub menu it would be:
[ 'key' => 'catalog.packages', 'name' => 'subscriptions::app.package.plural-title', 'route' => 'admin.catalog.packages.index', 'sort' => 3, 'icon-class' => '', ],
-
This post is deleted! -
thanks @lwilliams-heli