diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 3c28a1d7d..d1db88a90 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -154,11 +154,9 @@ protected function installLivewireStack() return false; } - if ($this->option('api')) { - $this->call('install:api', [ - '--without-migration-prompt' => true, - ]); - } + $this->call('install:api', [ + '--without-migration-prompt' => true, + ]); // Update Configuration... $this->replaceInFile('inertia', 'livewire', config_path('jetstream.php')); @@ -342,11 +340,9 @@ protected function installInertiaStack() return false; } - if ($this->option('api')) { - $this->call('install:api', [ - '--without-migration-prompt' => true, - ]); - } + $this->call('install:api', [ + '--without-migration-prompt' => true, + ]); // Install NPM packages... $this->updateNodePackages(function ($packages) {