From 5b5cfe6cc41d02066ba8883fe6a634b672d87ee5 Mon Sep 17 00:00:00 2001 From: LaHiRu Date: Mon, 31 Oct 2022 10:22:15 +0530 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d13112f..f36ae43 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The missing *Back button* of laravel nova 4 -This back button uses javascript `history(-1)` method for navigation. Back button will be automatically attached to the default `Card` component. +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 ![screenshot](/resources/img/sc-1.png) @@ -41,7 +41,7 @@ public function tools() ``` -3) Publish language files (optional) +3) Publish language & config files (optional) ``` php artisan vendor:publish --provider="Visanduma\NovaBackNavigation\ToolServiceProvider" @@ -50,4 +50,25 @@ php artisan vendor:publish --provider="Visanduma\NovaBackNavigation\ToolServiceP 4) Great !. you are done +### Configure any urls to show the back button + +``` php + [ + + "nova/resources/*/*", + + ] +]; + +``` + +