diff --git a/src/Commands/InstallCommand.php b/src/Commands/InstallCommand.php index 7ccfc32..eb31538 100644 --- a/src/Commands/InstallCommand.php +++ b/src/Commands/InstallCommand.php @@ -31,6 +31,7 @@ public function handle() '--provider' => CoreServiceProvider::class, '--tag' => ['admin-kit-config', 'admin-kit-stubs', 'admin-kit-migrations'], ]); + $this->call('filament:assets'); } // php artisan storage:link @@ -75,11 +76,6 @@ public function handle() 'FILAMENT_IMPERSONATE_REDIRECT', ], config('admin-kit.panel.path')); - // load asset files - if ($this->confirm('Load asset files?', true)) { - $this->call('filament:assets'); - } - // completing the installation $this->info('Admin Kit has been successfully installed =)'); $this->info('To create a SuperAdmin user, run: php artisan shield:super-admin');