stepanenko3/nova-menu-collapsed
最新稳定版本:v1.2.2
Composer 安装命令:
composer require stepanenko3/nova-menu-collapsed
包简介
This Laravel Nova package allows you to set menu state collapsed as default
README 文档
README
This tool gives you the ability to set the default collapse state for Nova 4.0 menu items.
Requirements
php: >=8.0laravel/nova: ^4.0
Installation
Install the package in a Laravel Nova project via Composer and edit the configuration file
# Install the package composer require stepanenko3/nova-menu-collapsed # Publish the configuration file and edit it to your preference php artisan vendor:publish --provider="Stepanenko3\NovaMenuCollapsed\ToolServiceProvider" --tag="config"
Register the tool with Nova in the tools() method of the NovaServiceProvider:
// in app/Providers/NovaServiceProvider.php public function tools() { return [ // ... new \Stepanenko3\NovaMenuCollapsed\MenuCollapsed, ]; }
Setting up
After publishing the configuration file, you have to make some required changes in config/nova-menu-collapsed.php:
'collapsed' => true,
Credits
License
Nova Menu Builder is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 13.61k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-15