Jetstream Stack Change From Livewire to Inertia After Installation
0 reputation · 11 Jul 2022, 14:30 UTC
Goal
Change an existing Laravel Jetstream installation from the Livewire stack to the Inertia stack by updating config/jetstream.php.
Constraints
The installer writes the stack choice at installation and installs matching Blade/Livewire or Vue/Inertia scaffolding. Jetstream does not document config/jetstream.php as a runtime stack toggle, and no Artisan command converts one installed frontend to the other. Changing the configuration value alone does not replace controllers, views, or route behavior. Fortify feature flags such as two-factor authentication and API tokens must remain aligned with enabled Jetstream features, and stack support depends on the installed Jetstream and Laravel release series.
Questions
- Does updating the stack key in
config/jetstream.phpactivate Inertia routing and views, or must the Livewire scaffolding be removed and Inertia scaffolding installed manually? - Are Fortify authentication routes and feature flags compatible across both stacks without additional configuration changes?
- Which Jetstream and Laravel version boundary determines whether the target stack is supported on an existing application?