I have my master .php file setup here: views/layouts/app.blade.php and my child here views/tasks.blade.php
In tasks.blade.php I wrote the following code:
@extends('layouts.app')
@section('content')
<div class="panel-body">
<form action="/task" method="POST" class="form-horizontal">
[content here]
</form>
</div>
@endsection
In app.blade.php I have a basic html setup with html-tags, bootstrap cdn, and jquery. In the body-tags I wrote:
@yield('content')
In routes.php the default route when localhost loads the map is set to 'tasks':
Route::get('/', function () {
return view('tasks');
});
However, I do not get the tasks.blade.php displayed within app.blade.php. this is what I DO get returned:
Any solutions please?