I
I
Ivan Stroykin2016-04-11 06:04:17
Laravel
Ivan Stroykin, 2016-04-11 06:04:17

What is the best way to host view files in Laravel?

Good day,
There was such a question (for someone stupid, for someone banal), but the question.
I'm using the Laravel framework and now I'm wondering how to correctly compose the view?
That is, suppose there are help sections with addresses:
/help
/help/instructions
/help/support
Does it make sense to create a "help" directory in "view" and place all the view files of this section there? Or is there something more logical and interesting?
Please do not throw slippers!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrzej Wielski, 2016-04-11
@StivinKing

For a site with an admin panel, I use the following structure:

views
-- admin
   -- settings
       -- form.blade.php
-- front
    -- layouts
        -- main.blade.php
    -- entities
        -- help
            -- support.blade.php

But the project is quite complicated, for a light site such a spread is not necessary.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question