Skip to content

Commit

Permalink
Add nova-about
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysLees committed Aug 7, 2022
1 parent 5b014de commit 5b470fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"php": "^8.1",
"laravel/framework": "^9.0",
"laravel/nova": "^4.0",
"livewire/livewire": "^2.5"
"livewire/livewire": "^2.5",
"rhyslees/nova-about": "^1.0"
},
"require-dev": {
"laravel/pint": "^1.1"
Expand Down
4 changes: 4 additions & 0 deletions src/NovaImpersonatingBannerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Illuminate\Support\ServiceProvider;
use Livewire\Livewire;
use RhysLees\NovaAbout\NovaAbout;
use RhysLees\NovaImpersonatingBanner\Livewire\NovaImpersonatingBanner;

class NovaImpersonatingBannerServiceProvider extends ServiceProvider
Expand All @@ -28,6 +29,9 @@ public function boot()
$this->publishes([
__DIR__.'/../config/nova-impersonating-banner.php' => config_path('nova-impersonating-banner.php'),
], 'config');

// Add package to Nova About
NovaAbout::addPackage('rhylees/nova-impersonating-banner');
}
}

Expand Down

0 comments on commit 5b470fd

Please sign in to comment.