How change view folder in Laravel5?
See line 16 of config/view.php
(the "View Storage Paths" section)
'paths' => [ realpath(base_path('resources/views'))],
So you might change it to realpath(base_path('public/assets/views'))
to be in your public path.
Additional Examples
'paths' => [ // src/MyNamespace/resources realpath(base_path('src/MyNamespace/resources')), // app/resources realpath(app_path('resources'))],
- You can provide multiple search locations
- You can use
app_path()
,base_path()
, or neither.