awema-pl/module-navigation
Composer 安装命令:
composer require awema-pl/module-navigation
包简介
Navigation package for Awema layouts
README 文档
README
Installation
Via Composer
$ composer require awema-pl/module-navigation.php
The package will automatically register itself.
You can publish the config file with:
php artisan vendor:publish --provider="AwemaPL\Navigation\NavigationServiceProvider" --tag="config"
Menu structure
Default generator gets navs from navigation config navs array. Every item have to contain name and link or children.
Additionally it can contain icon.
Read more about nav structure you can in Frame Navigation
Active link binding
By default link is set as active if a current url contains it.
You can add an exact param to the nav item if you want it active only if the current url equal to nav link.
To exclude nav item from active binding add an 'active' => false param to it.
统计信息
- 总下载量: 60
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-23