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

views now go in templates, unless it changes again. Those laracast are now kinda outdated. That one is from Aug 2014.
There's been many changes since then. Some of the stuff in the videos still apply.

Last updated 9 years ago.
0

The laracast I watched prior to the post and as stated outdated.

I will give it a shot under templates, so if the case inside templates we can add in layouts folder for core site templates

Also where are these changes noted. Coming from 4.2 to 5 or 4.3 docs mention nothing of this so where to find or know of these daily changes.

Thanks, Dave

0

You won't know til january when the final release hits, everything in L5 currently is a work in progress. It could still see major changes. I just hope that when L5 is final, the docs are completely up to date.

0

movepixels said:

I will give it a shot under templates,

Yes. View files go in the templates folder. The following code works:

Route::get('test', function() {
    return view('welcome');
});
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.