A CLI tool that converts a fresh Laravel Jetstream application's Vue components to React equivalents.
Laravel Jetstream React CLI is a Node.js command-line tool that automatically converts the Vue.js frontend of a fresh Laravel Jetstream application to React. It solves the problem for developers who want to use React with Jetstream's built-in authentication, team management, and UI components without manual conversion work.
Laravel developers who prefer React over Vue and want to use the Jetstream starter kit with a React frontend, particularly those starting new projects with Inertia.js.
Developers choose this tool because it provides a quick, automated way to get a React-based Jetstream setup, saving time compared to manual rewrites, and includes helpful TypeScript hooks for better developer experience.
⚛️ CLI to replace Vue with React in Laravel Jetstream
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The CLI automatically converts Vue components to React in a fresh Jetstream app, saving developers from manual rewrites and ensuring functional equivalence with minimal effort.
It maintains support for Jetstream's teams, server-side rendering, and dark mode out of the box, providing a complete React alternative with all original authentication and UI features.
Includes custom hooks like useRoute and useTypedPage that offer type-safe routing and page prop access, enhancing developer experience in TypeScript projects as shown in the README examples.
Provides React components such as ConfirmsPassword to handle Jetstream's password confirmation flows, ensuring security features are preserved without additional coding.
No new additions have been made in years, so it may not incorporate the latest React best practices or Laravel updates, relying solely on the author's commitment to maintain basic functionality.
The tool is designed for newly scaffolded Jetstream apps; it cannot convert existing or modified projects, limiting its applicability and forcing manual work for legacy setups.
Local development requires a workaround since npm link doesn't work, adding extra steps to the setup process as admitted in the README, which can be cumbersome for testing.
Any breaking changes in Laravel Jetstream could break compatibility, as the tool is tightly coupled to the original Vue implementation without a first-party guarantee.