add nova wizard

This commit is contained in:
nurmuhammet committed 2023-11-24 21:19:50 +05:00
1 parent 0898dbc73f
commit 392136dc9b
6 files changed
+194 -3

No files matched your search

+3
View File
@@ -21,6 +21,7 @@
use Laravel\Nova\Menu\MenuSection;
use Laravel\Nova\Nova;
use Laravel\Nova\NovaApplicationServiceProvider;
use Wdelfuego\NovaWizard\NovaWizard;
class NovaServiceProvider extends NovaApplicationServiceProvider
{
@@ -83,6 +84,7 @@ public function tools(): array
LocaleSwitcher::make()
->setLocales(config('app.locales'))
->onSwitchLocale(NovaRepo::localeSwitcherSave()),
// new NovaWizard('add-user'),
];
}
@@ -105,6 +107,7 @@ public function setupNavigation(): void
MenuSection::make(__('Orders'), [
MenuItem::resource(LoanOrder::class),
// MenuItem::link('Add a user', NovaWizard::pathToWizard('add-user'))
])->icon('collection')->collapsable(),
MenuSection::make(__('System'), [