Laravel 5.2.12 Folder structure, resource/view has no layout folder -
i'm going through guide: https://laravel.com/docs/5.2/quickstart
it says create layout view in:
`resources/views/layouts/app.blade.php`
the layout folder doesn't exist. supposed exist? there doesn't seem website shows of folder structures , how differ across different laravel versions. closest thing find https://laravel.com/docs/5.2/structure covers root , app directories.
cheers
you can create it.
in quickstart you'll see layout being used @ later point this:
@extends('layouts.app')
this represents path after resources/views
slashes /
replaced dot .
you example place layout in directory resources/views/my/extra/long/path/app.blade.php
then you'd have use this:
@extends('my.extra.long.path.app')
Comments
Post a Comment