Closed kamov closed 5 years ago
I am using this package https://github.com/nWidart/laravel-modules
This package for each module add new view paths, with this code:
$this->loadViewsFrom(array_merge(array_map(function ($path) { return $path . '/modules/core'; }, \Config::get('view.paths')), [$sourcePath]), 'core');
The result of this become:
array:4 [▼ 0 => "resources/views/foundation/modules/core" // CUSTOM theme 1 => "resources/views/default/modules/core" // DEFAULT theme 2 => "resources/views/modules/core" // after publishing views from module they are stored here 3 => "Modules/Core/Providers/../Resources/views" // module default folder ]
I would like to know why not work the loading of custom theme views?
Thanks
Forgot.. it works like a charm :+1:
I was doing some wrong test
:-)
I am using this package https://github.com/nWidart/laravel-modules
This package for each module add new view paths, with this code:
The result of this become:
I would like to know why not work the loading of custom theme views?
Thanks