When building your own applications, you'll likely run into situations where you require nested layout files. Let's leverage Blade components to make the whole process a cinch.
View the source code for this episode on GitHub.
app/Models
directory. This means an App\Post
namespace should now be App\Models\Post
.