Skip to content

Commit 9b2b36b

Browse files
authored
Fix Jetstream SSR option (#281)
* Fix Jetstream SSR option * Update option description
1 parent fad548c commit 9b2b36b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/NewCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function configure()
5151
->addOption('jet', null, InputOption::VALUE_NONE, 'Installs the Laravel Jetstream scaffolding')
5252
->addOption('dark', null, InputOption::VALUE_NONE, 'Indicate whether Breeze or Jetstream should be scaffolded with dark mode support')
5353
->addOption('typescript', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with TypeScript support (Experimental)')
54-
->addOption('ssr', null, InputOption::VALUE_NONE, 'Indicate whether Breeze should be scaffolded with Inertia SSR support')
54+
->addOption('ssr', null, InputOption::VALUE_NONE, 'Indicate whether Breeze or Jetstream should be scaffolded with Inertia SSR support')
5555
->addOption('api', null, InputOption::VALUE_NONE, 'Indicates whether Jetstream should be scaffolded with API support')
5656
->addOption('teams', null, InputOption::VALUE_NONE, 'Indicates whether Jetstream should be scaffolded with team support')
5757
->addOption('verification', null, InputOption::VALUE_NONE, 'Indicates whether Jetstream should be scaffolded with email verification support')
@@ -338,13 +338,14 @@ protected function installJetstream(string $directory, InputInterface $input, Ou
338338
$commands = array_filter([
339339
$this->findComposer().' require laravel/jetstream',
340340
trim(sprintf(
341-
$this->phpBinary().' artisan jetstream:install %s %s %s %s %s %s',
341+
$this->phpBinary().' artisan jetstream:install %s %s %s %s %s %s %s',
342342
$input->getOption('stack'),
343343
$input->getOption('api') ? '--api' : '',
344344
$input->getOption('dark') ? '--dark' : '',
345345
$input->getOption('teams') ? '--teams' : '',
346346
$input->getOption('pest') ? '--pest' : '',
347347
$input->getOption('verification') ? '--verification' : '',
348+
$input->getOption('ssr') ? '--ssr' : '',
348349
)),
349350
]);
350351

0 commit comments

Comments
 (0)