Skip to content

Commit 3bbb09d

Browse files
committed
Add publish view ability to resources/views/vendor
1 parent 3eb305a commit 3bbb09d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/ServiceProvider.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ public function boot()
5050

5151
$this->publishes([
5252
__DIR__ . '/../config/report-generator.php' => config_path('report-generator.php')
53-
], 'config');
53+
], 'laravel-report:config');
54+
55+
$this->publishes([
56+
__DIR__ . '/views' => resource_path('views/vendor/jimmyjs'),
57+
], 'laravel-report:view-template');
5458
}
5559

5660
protected function registerAliases()
@@ -73,4 +77,4 @@ public function provides()
7377
return [];
7478
}
7579

76-
}
80+
}

0 commit comments

Comments
 (0)