From 69058c705fbb443bc8ef66dd3c27e28ec9e796fb Mon Sep 17 00:00:00 2001 From: clarkewing <7689302+clarkewing@users.noreply.github.com> Date: Sat, 2 Jun 2018 17:29:15 +0200 Subject: [PATCH] Adds missing config publishing to Service Provider --- src/ViewComponentsServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ViewComponentsServiceProvider.php b/src/ViewComponentsServiceProvider.php index 7258180..f05e63e 100644 --- a/src/ViewComponentsServiceProvider.php +++ b/src/ViewComponentsServiceProvider.php @@ -9,6 +9,10 @@ class ViewComponentsServiceProvider extends ServiceProvider { public function boot() { + $this->publishes([ + __DIR__.'/../config/view-components.php' => config_path('view-components.php'), + ], 'config'); + Blade::directive( 'render', $this->app->make(CompileRenderDirective::class)