Connect the repository.
Import it from GitHub or GitLab. Lahyer reads your config to see whether server rendering is on.
React Router hosting
Deploy a React Router app in framework mode, or a Remix app. With server rendering, Lahyer runs it as a Node.js server. With ssr: false, it serves the build as a single-page app.
Deploy your projectWhat Lahyer does with it
Lahyer fills these in from your repository. Change anything that does not fit in the project's build settings.
| Detected from | @react-router/dev or @remix-run/dev in your dependencies |
|---|---|
| Install | npm, pnpm, Yarn or Bun, chosen from your packageManager field or lockfile |
| Build | Your build script, or react-router build |
| Runs as | A Node.js server from build/. With ssr: false, static files from build/client/ with an index.html fallback |
| Node.js | 20 or 22, read from .nvmrc, .node-version or engines.node (22 by default) |
Your first deploy
Import it from GitHub or GitLab. Lahyer reads your config to see whether server rendering is on.
Loaders and actions run on the server Lahyer starts. Set ssr: false in react-router.config.ts for a static single-page app.
Every push deploys, pull requests get preview URLs, and you can roll back without rebuilding.
A few useful answers
Yes, with server rendering. They run on the Node.js server Lahyer starts.
Yes. Projects that use @remix-run/dev are detected and deployed the same way as React Router framework mode.
Server apps on Free sleep when idle and start again on the next request, which can take a moment. Pro keeps one production app always on.