#
Make View
#
Start Show View
For show a view in panel, You must:
use T0team\LaravelPanel\Facades\Panel;
$panel = Panel::view('welcome');
#
Add Data
You can add data to view by with
method:
$panel->with(compact($data));
// or
$panel->with('data', $data);
#
Render View
You can render view by render
method:
return $panel->render();
#
Other Methods
Also you can use all methods of Panel Facade in this section.