Support the ongoing development of Laravel.io →
posted 8 years ago
Views Blade
Last updated 2 years ago.
0

That's because you are returning the 'home' view, which is the parent template. You want to return the 'app' view.

0

Thanks, works as It should now. Still need to read more about laravel it seems, I thought you called the home view and then that returns everything else with yield

0

You shouldn't return the app view. Instead, put @extends('app') at the top of your home.blade.php file and remove @extends('home') from your app.blade.php. A "child" always extends the "master" view, you had it the other way around :-)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

zobino zobino Joined 23 Sep 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.