Skip to content

Commit

Permalink
Add: support to publish views
Browse files Browse the repository at this point in the history
  • Loading branch information
jordyvanderhaegen committed Dec 4, 2023
1 parent 849d909 commit b00fb11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/ConversionsApiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down

0 comments on commit b00fb11

Please sign in to comment.