Skip to content

Commit

Permalink
fix service provider
Browse files Browse the repository at this point in the history
Signed-off-by: Abbas mkhzomi <[email protected]>
  • Loading branch information
abbasudo committed Dec 16, 2023
1 parent 79787ad commit 32b4693
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/PulseUsersServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ public function configurePackage(Package $package): void
$package
->name('pulse-users')
->hasViews('pulse-users');
}

public function boot(): void
{
parent::boot();

$this->loadViewsFrom(__DIR__ . '/../resources/views', 'pulse-users');

$this->callAfterResolving('livewire', function (LivewireManager $livewire, Application $app) {
$livewire->component('pulse.usage-hours', PulseUsers::class);
Expand Down

0 comments on commit 32b4693

Please sign in to comment.