A
A
Alexander2017-07-17 18:15:42
Laravel
Alexander, 2017-07-17 18:15:42

How to make different layouts laravel?

Actually the question is in the title. That is, /users - layout users/layout.blade.php /admins - layout admins /layout.blade.php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
StreetHoboSP, 2017-07-17
@StreetHoboSP

https://laravel.com/docs/5.4/blade#extending-a-layout
Use or respectively @extends('users.layout')@extends('admins.layout')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question