You should use
@extends('layouts.master')
instead of
@extends('hello')
in your hello.blade.php
view file and make sure you have a master layout in your views/layouts
directory so your hello.blad.php
will extend the master layout and template will show up.
Actually, your hello.blade.php
file should be master.blade.php
and hello.blade.php
should extend this master layout so hello.blade.php
should look something like this:
@extends('layouts.master')
@section('content')
<p>content check</p>
@stop
The master.blade.php
file:
<!DOCTYPE html>
<html>
<head>
<title>swag</title>
</head>
<body>
@yield('content')
</body>
</html>