Skip to main content

๐ŸŽจ Frontend Stacks

Whichever frontend you pick, larakube new my-app --<stack> scaffolds the matching Kubernetes wiring โ€” dev-server HMR routing, SSR pod isolation where relevant, and any session/networking quirks the stack needs.

StackCommandLaraKube CLI handles
โš›๏ธ Reactlarakube new my-app --reactDedicated Vite/SSR node pods, vite.your-app.kube routing via Traefik
๐Ÿ–– Vue.jslarakube new my-app --vueZero-config HMR, isolated Vue SSR pod, SPA security headers
๐Ÿงก Sveltelarakube new my-app --svelteDocker build steps tuned for Svelte's compile phase, static asset caching
๐ŸŒŠ Livewirelarakube new my-app --livewireDedicated Reverb pod, Redis-backed sessions, Traefik sticky sessions

โš›๏ธ Reactโ€‹

Combined with Laravel's native Vite integration and Inertia.js, React gives you single-page apps without a separate API layer โ€” plus Laravel Starter Kits for auth. Deploying React with SSR on Kubernetes is notoriously complex, so LaraKube CLI automatically scaffolds separate pods for the Vite dev server and Node.js SSR workers, pre-configures Traefik to route the HMR server, and keeps your in-cluster build pipeline matching CI/CD exactly.

๐Ÿ–– Vue.jsโ€‹

Vue is the primary target for Inertia.js, offering the smoothest "Classic Laravel" SPA feel, with Tailwind utility classes integrating cleanly into components. LaraKube CLI bridges the Kubernetes networking gap so Hot Module Replacement works out of the box, isolates memory-intensive Vue SSR into its own pod so it can't crash the PHP backend, and pre-configures the Traefik middleware modern SPAs need.

๐Ÿงก Svelteโ€‹

Svelte compiles your UI at build time instead of interpreting it in the browser, giving Laravel apps the smallest possible bundle size while integrating natively with Laravel's Vite config. LaraKube CLI tunes its Docker stubs for Svelte's compilation phase, pre-configures Traefik/Ingress to cache compiled assets, and keeps a stable "fixed-version" Kubernetes foundation underneath a fast-moving frontend.

๐ŸŒŠ Livewireโ€‹

Livewire lets you build dynamic, reactive interfaces using only PHP classes and Blade โ€” no API, no JavaScript, and it automatically syncs your UI with backend models. Because Livewire depends heavily on real-time server communication, LaraKube CLI pre-configures a dedicated Reverb pod for high-concurrency updates, scaffolds Redis as the session driver for seamless pod-to-pod transitions, and configures Traefik's sticky sessions for complex Livewire apps.