src/ViewServiceProvider.php
public function registerViewFinder()
    {
        $this->app->bind('view.finder', function (Application $app) {
            $paths = $app->make('config')->get('view.paths', []);

            return new FileViewFinder($app->make('files'), $paths);
        });
    }
public function registerViewFinder()
    {
        $this->app->bind('view.finder', function (Application $app) {
            $paths = $app->make('config')->get('view.paths', []);

            return new FileViewFinder($app->make('files'), $paths);
        });
    }
Register the service provider for view finder.

@return void