Your Remix. Your deployment mode.
Publish an SPA or run a server application. Layero hosts client builds and Node runtimes, letting you choose the architecture for your routes and data.
npm run buildWhat Layero does for your Remix project
SPA mode
In Remix with Vite, ssr: false enables SPA mode. The client build is in build/client and data loading runs on the client.
Server handlers
Server loaders, actions and sessions require a running server application. Client files do not execute this logic.
Test real flows
After deployment, test forms, nested routes and data-loading failures. Keep integration secrets on the server.
Updates through Git
Connect a repository and publish updates from your usual workflow. Builds and their results are available in the project dashboard.
Remix capabilities on Layero
| Capability | How it works |
|---|---|
| Remix + Vite | npm run build |
| SPA mode | ssr: false → build/client |
| clientLoader / clientAction | Browser-side logic |
| loader / action | Server runtime |
| React Router | Version-specific configuration |
| Domain and HTTPS | Configured in the project dashboard |
How to publish your project
Prepare your project
Choose an SPA or server build. For SPA mode, set ssr: false in the Remix Vite plugin and verify that the app does not rely on server loaders or actions.
Start deployment
Deploy from the project root. Use build/client for an SPA; configure the runtime and Node server start command for a server build.
npx layero@latest deployCheck the result
Test direct navigation and form submissions on the public URL. Then connect a domain and environment variables.
Where it fits
Where it fits
- React applications with routing
- Dashboards and forms
- Interfaces built on an API
Your workflow on Layero
- Publish from Git or the CLI
- Builds and logs in the project dashboard
- Domain and environment variables
SPA mode does not execute server loaders and actions. Use client handlers with an API or host a server build in a runtime.
FAQ
Do React Router and Remix share the same configuration?
Why does a server action fail in a published SPA?
Can I connect my own domain?
How do I update a published project?
Publish your Remix project on Layero
Start with a folder of code or import a repository in the Layero dashboard.