Open Glarionov opened 2 years ago
You can refer to this page
namespace App\Admin\Controllers;
use App\Http\Controllers\Controller;
use Encore\Admin\Layout\Content;
use Encore\Admin\Layout\Row;
class SampleController extends Controller
{
public function index(Content $content)
{
return $content
->title(__('Sample page'))
->row(function (Row $row) {
$row->column(12, 'sample text');
});
}
}
Description:
If we create routes by
There are need to be methods like form and grid, which need some model to be created. But what if I want to create a page, that does not bind to any model?