3 $viewPaths = [realpath(base_path('resources/views'))];
4 if ($theme = env('APP_THEME', false)) {
5 array_unshift($viewPaths, base_path('themes/' . $theme));
11 |--------------------------------------------------------------------------
13 |--------------------------------------------------------------------------
15 | Most templating systems load templates from disk. Here you may specify
16 | an array of paths that should be checked for your views. Of course
17 | the usual Laravel view path has already been registered for you.
21 'paths' => $viewPaths,
24 |--------------------------------------------------------------------------
26 |--------------------------------------------------------------------------
28 | This option determines where all the compiled Blade templates will be
29 | stored for your application. Typically, this is within the storage
30 | directory. However, as usual, you are free to change this value.
34 'compiled' => realpath(storage_path('framework/views')),