Skip to content

Commit

Permalink
Allow for publishing views
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlewis authored Aug 5, 2020
1 parent 6d3c5d7 commit 887d59c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LivewireTablesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ class LivewireTablesServiceProvider extends ServiceProvider
public function boot()
{
$this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-livewire-tables');

$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/laravel-livewire-tables'),
]);
}
}

0 comments on commit 887d59c

Please sign in to comment.