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

You need to return the view that extend your base blade.

Route::get('/', function () { return view('show'); });

Because your show blade extends your welcome blade you will get the content from your welcome blade with the content section of your show blade on the position of the yield.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Abdi abdinur99 Joined 30 Nov 2020

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.