Register blade files
If you haven’t created the blade directory yet, run the following commands.
php artisan make:module:blade-directory blog
This will create blade directory in the path modules/blog/resources/views
After creating the blade directory, we need to call the directory in the desired module’s ServiceProvider.php
/**
* Bootstrap the module services.
*
* @return void
*/
public function boot()
{
$this->registerViews();
}