app->register(RouteServiceProvider::class); $this->mergeConfigFrom(module_path('Comments', 'Config/config.php'), 'comments'); } public function boot(): void { $this->loadMigrationsFrom(module_path('Comments', 'Database/Migrations')); $this->loadViewsFrom(module_path('Comments', 'Resources/views'), 'comments'); } }