src/ModuleProvider.php
protected function registerViews()
    {
        if (is_dir($source = $this->module->getPath('resources/views'))) {
            $this->loadViewsFrom($source, $this->module->getName());
        }
    }
protected function registerViews()
    {
        if (is_dir($source = $this->module->getPath('resources/views'))) {
            $this->loadViewsFrom($source, $this->module->getName());
        }
    }
Register views.