webman icon indicating copy to clipboard operation
webman copied to clipboard

How to add custom partial view template?

Open haidarvm opened this issue 5 years ago • 1 comments

I see the documentation is only single view return view('dashboard', ['request' => $request]);

How if i wanna add header & footer in Raw view ?

haidarvm avatar Sep 20 '20 02:09 haidarvm

For example.

<?php include app_path(). '/view/header.html'?>
<div>.....</div>
<?php include app_path(). '/view/footer.html'?>

walkor avatar Sep 20 '20 13:09 walkor