1. download the zip file which has a /a folder: https://www.webune.com/forums/laravel-blade-template-starter-layout-and-route-example.html

2. Place the a/ folder in views - Should look like views/a

3. Open web.php and add the following route:

use Illuminate\Support\Facades\View;

 

    Route::get('/a', function()
    {
       return View::make('a.pages.index');
    });

Open in browser: http://127.0.0.1:8000/a

You will see the following:

>>>>>>>>header.blade.php<<<<<<<<<<<<<<<<<

This is index

>>>>>>>>footer.blade.php<<<<<<<<<<<<<<<<<