Answer the question
In order to leave comments, you need to log in
Is this file structure suitable for the admin panel?
Hello, is this file structure suitable for expanding the site in the future?
PS I am making the first site on laravel, first I decided to make an admin panel, and after that a template for the site
Answer the question
In order to leave comments, you need to log in
Use it if it suits you.
There is no magic recipe for how to decompose templates.
And what's the point of getting so hung up on how the templates are laid out? It would be better to write code, instead of philosophizing about folders.
I have so:
views
-- errors
-- emails
-- back
-- crud
-- add.blade.php
-- edit.blade.php
-- list.blade.php
-- entities
-- pages
-- add.blade.php
-- edit.blade.php
-- list.blade.php
-- layouts
-- admin.blade.php
--front
-- entities
-- pages
-- page.blade.php
-- layouts
-- app.blade.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question