Remix

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.

Deployment overviewGit / CLI
Remix
package.jsonnpm run build
PublishLayeroHTTPS · Git · CLI

What 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

CapabilityHow it works
Remix + Vitenpm run build
SPA modessr: false → build/client
clientLoader / clientActionBrowser-side logic
loader / actionServer runtime
React RouterVersion-specific configuration
Domain and HTTPSConfigured 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 deploy

Check 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
What to configure before launch

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?
Their features overlap, but configuration files and commands depend on the project version. This page covers Remix with Vite; use your version documentation for React Router.
Why does a server action fail in a published SPA?
An SPA publishes only client code. Move processing to an API or use a server build with a runtime.
Can I connect my own domain?
Yes. Add the domain in the project dashboard and configure DNS using the instructions. See the pricing page for plan requirements and available features.
How do I update a published project?
Push changes to the connected Git repository or deploy again from the project folder. The build result and logs appear in the dashboard.

Publish your Remix project on Layero

Start with a folder of code or import a repository in the Layero dashboard.