File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ public function handle()
5050 $ this ->closeProgressBlock ();
5151
5252 // Adding sidebar menu item
53- $ this ->progressBlock ('Adding sidebar menu item ' );
54- $ this ->executeArtisanProcess ('backpack:add-sidebar -content ' , [
55- 'code ' => '<li class="nav- item"><a class="nav-link" href="{{ backpack_url ( \'elfinder \') }}"><i class="nav-icon la la-files-o"></i> <span>{{ trans ( \'backpack::crud.file_manager \') }}</span></a></li > ' ,
53+ $ this ->progressBlock ('Adding menu item ' );
54+ $ this ->executeArtisanProcess ('backpack:add-menu -content ' , [
55+ 'code ' => '<x-backpack::menu- item :title="trans ( \'backpack::crud.file_manager \')" icon=" la la-files-o" :link="backpack_url ( \'elfinder \')" / > ' ,
5656 ]);
5757 $ this ->closeProgressBlock ();
5858
5959 // Done
6060 $ url = Str::of (config ('app.url ' ))->finish ('/ ' )->append ('admin/elfinder ' );
6161 $ this ->infoBlock ('Backpack FileManager installation complete. ' , 'done ' );
62- $ this ->note (" Go to <fg=blue> $ url</> to access your filemanager. " );
62+ $ this ->note (' Go to <fg=blue>$url</> to access your filemanager. ' );
6363 $ this ->note ('You may need to run <fg=blue>php artisan serve</> to serve your Laravel project. ' );
6464 $ this ->newLine ();
6565 }
You can’t perform that action at this time.
0 commit comments