View page not working in laravel

By | May 17, 2016

In my view page is displaying with below content, it is not loading data completely and properly.

@extends(‘layouts.myheader’)
@section(‘content’)

my view page only showing @extends(‘layouts.myheader’),@section(‘content’) as it is.

Answer: if you miss the blade in the name of view file it will happen.means if you create a view file as myview.php instead of myview.blade.php then you wil get the above error. so all view file should be end with blade.php