diff --git a/README.md b/README.md index 54d45e9..85ad2d5 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,11 @@ return [ ]; ``` +In case you want to customize the view components you may also publish the views: +```bash +php artisan vendor:publish --provider="Esign\ConversionsApi\ConversionsApiServiceProvider" --tag="views" +``` + ## Conversions API ### Events diff --git a/src/ConversionsApiServiceProvider.php b/src/ConversionsApiServiceProvider.php index b908b87..4027e55 100644 --- a/src/ConversionsApiServiceProvider.php +++ b/src/ConversionsApiServiceProvider.php @@ -31,6 +31,7 @@ public function boot() if ($this->app->runningInConsole()) { $this->publishes([$this->configPath() => config_path('conversions-api.php')], 'config'); + $this->publishes([$this->viewPath() => resource_path('views/vendor/conversions-api')], 'views'); } }