T
T
Troodi Larson2018-04-02 20:03:49
Laravel
Troodi Larson, 2018-04-02 20:03:49

How to do design switching in Laravel?

How to do design switching in Laravel? That is, for example, there are 2 layouts of the main page, but how to process and how to properly place files and make switching. I can't find any info on google.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-04-02
@Sanasol

just like not in laravel.
Save the name of the topic somewhere and connect the one you need when outputting.
Fortunately, the output is through a template engine and you can insert variables there without any problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question