Home >Backend Development >PHP Tutorial >In laravel, I want to specify the Home directory in views for the front-end view directory and Admin for the back-end. What is this setting?
How to change this setting in view.php?
How to change this setting in view.php?
This configuration item refers to the relative position of all view files.
For example, view('admin.host');
will get resources/views/admin/host.php
Please read the document carefully, thank you.
Are the following methods feasible? Don't touch view.php. This configuration item refers to the relative position of all view files.
1. Design a directory structure to complete by yourself
2.
<code>public function index() { return view('Admin.Nodes.index'); } </code>
3.Access address