Skip to content

Commit b00fb11

Browse files
Add: support to publish views
1 parent 849d909 commit b00fb11

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ return [
4747
];
4848
```
4949

50+
In case you want to customize the view components you may also publish the views:
51+
```bash
52+
php artisan vendor:publish --provider="Esign\ConversionsApi\ConversionsApiServiceProvider" --tag="views"
53+
```
54+
5055
## Conversions API
5156

5257
### Events

src/ConversionsApiServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public function boot()
3131

3232
if ($this->app->runningInConsole()) {
3333
$this->publishes([$this->configPath() => config_path('conversions-api.php')], 'config');
34+
$this->publishes([$this->viewPath() => resource_path('views/vendor/conversions-api')], 'views');
3435
}
3536
}
3637

0 commit comments

Comments
 (0)