Skip to content

Commit

Permalink
fix: move command "filament:assets" to publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ast21 committed Mar 20, 2024
1 parent 2efa051 commit e906b36
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: <comment>php artisan shield:super-admin</comment>');
Expand Down

0 comments on commit e906b36

Please sign in to comment.