File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -154,9 +154,11 @@ protected function installLivewireStack()
154
154
return false ;
155
155
}
156
156
157
- $ this ->call ('install:api ' , [
158
- '--without-migration-prompt ' => true ,
159
- ]);
157
+ if ($ this ->option ('api ' )) {
158
+ $ this ->call ('install:api ' , [
159
+ '--without-migration-prompt ' => true ,
160
+ ]);
161
+ }
160
162
161
163
// Update Configuration...
162
164
$ this ->replaceInFile ('inertia ' , 'livewire ' , config_path ('jetstream.php ' ));
@@ -340,9 +342,11 @@ protected function installInertiaStack()
340
342
return false ;
341
343
}
342
344
343
- $ this ->call ('install:api ' , [
344
- '--without-migration-prompt ' => true ,
345
- ]);
345
+ if ($ this ->option ('api ' )) {
346
+ $ this ->call ('install:api ' , [
347
+ '--without-migration-prompt ' => true ,
348
+ ]);
349
+ }
346
350
347
351
// Install NPM packages...
348
352
$ this ->updateNodePackages (function ($ packages ) {
You can’t perform that action at this time.
0 commit comments