Answer the question
In order to leave comments, you need to log in
How to manage templates in Laravel?
How to manage templates in Laravel? Like in wordpress for example. Clicking the button activates the template. There is an idea to pass a value to route. When clicking on the button, it will pass the name of the template and write it as the main page in the route. But I don't quite understand how to implement it. I read the documentation and didn't find anything. Maybe I didn't search well. I would be grateful for any advice. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
It's called themes. For example - https://github.com/pierresilva/laravel-themes (there, however, 5.3)
You just need to make an admin panel to view themes and switch / activate them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question