laravelviewlaravel-bladelaravel-resource

Laravel Different Views Folder


I have downloaded a project and I noticed that the project use views from different directory not the usual directory which are

\resources\views 

but instead it create a new folder name themes and insert all the views in there.

\themes\app\views

Views Directory

and also I noticed in the controller they return view by using getAppTheme()

Return View using getAppTheme()

Anyone know how I can create a new folder outside the \resources\views folder for all my views file. And how I can return view using getAppTheme() just like in the picture.


Solution

  • Thanks but the answer I was looking for is in here https://github.com/Shipu/themevel Anyway, thanks again