The resource_path function returns the fully qualified path to your application's resources directory. You may also use the resource_path function to generate a fully qualified path to a given file within the resources directory:
<?php $path = resource_path();

$path = resource_path('sass/app.scss');
<?php         'theme' => env('MAIL_MARKDOWN_THEME', 'default'),



        'paths' => [

            resource_path('views/vendor/mail'),

        ],

    ],
<?php     'paths' => [

        resource_path('views'),

    ],
<?php     protected function viewPath($path = '')

    {

        $views = $this->laravel['config']['view.paths'][0] ?? resource_path('views');



        return $views.($path ? DIRECTORY_SEPARATOR.$path : $path);

    }