visanduma/nova-back-navigation
最新稳定版本:v1.0.3
Composer 安装命令:
composer require visanduma/nova-back-navigation
包简介
The missing Back button of NOVA
关键字:
README 文档
README
Laravel Nova back navigation
The missing Back button of laravel nova 4
This back button uses javascript history.back() method for navigation. Back button will be automatically attached to the default Card component.
so additional configuration not needed
Installation
- Run command
composer require visanduma/nova-back-navigation
- Register tool with
NovaServiceProvider
use Visanduma\NovaBackNavigation\NovaBackNavigation;
class NovaServiceProvider extends NovaApplicationServiceProvider
{
public function tools()
{
return [
..
new NovaBackNavigation(),
];
}
- Publish language & config files (optional)
php artisan vendor:publish --provider="Visanduma\NovaBackNavigation\ToolServiceProvider"
- Great !. you are done
Configure any urls to show the back button
<?php // config for nova back button return [ /* Enable back button for following routes */ 'enabled_urls' => [ "nova/resources/*/*", ] ];
统计信息
- 总下载量: 6.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-20

