7
Why master.blade.php Isn't Processed in Laravel
source link: https://fuzzyblog.io/blog/laravel/2021/12/22/why-master-blade-php-isn-t-processed-in-laravel.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Why master.blade.php Isn't Processed in Laravel
Dec 22, 2021
I had the situation earlier where commands like:
@extends('layouts.master')
@section('title', 'Order Submitter LegendBorne Products')
@section('content')
in my template weren't being processed and this led me to do the normal bit of Google fu, alas, to no avail. And then I looked at the name of my template:
order_submitter_index.php
Yes – that's right. I was missing the .blade. suffix so a quick rename to:
order_submitter_index.blade.php
And all worked perfectly.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK