Have two different templates (one for front-end and one for back-end) [closed]

-3

I need to have two different templates for my project, one is for the front-end which has its own menu and design, on the other hand I have another template for the back-end that also has its own menu and design, the grace is in making these two templates coexist.

The user reaches the index of the page and can see certain information, once registered you can enter the dashboard (back-end) in which you have access to other information.

How can I coexist these two templates with different menu bars in Laravel? What would be the order of the views / folders for this purpose?

I'm new to Laravel and I'm using version 5.6

    
asked by Felipe 03.04.2018 в 07:33
source

1 answer

1

You confuse concepts, although I have understood you perfectly with the later explanation, let's go in parts:

Front-end

  

The part facing the client, which is displayed in the person's browser   that connects to your website, composed of HTML, CSS and javascript in most cases. (Both your index and your dashboard are front-end)

Back-end

  

The part that hides the client, all the internal programming that is on the server, php, java, .net ... etc.

Clarified a bit this, I for my part is to separate these two things, ie create two different folders, the default will enter all without exception, and the admin will redirect with the router to a login (or check if there is a session started and if not login), in that folder the html and the css that I will use for the menu will be totally different from the one in my default folder.

In summary, 2 folders with different html and css for your case.

    
answered by 03.04.2018 в 08:47