Skip to content

Nuxt hosting

Nuxt hosting.

Deploy a Nuxt app from GitHub or GitLab. Lahyer runs nuxt build output as a Node.js server, or serves nuxt generate output as static files, with HTTPS, previews and logs.

Deploy your project
NitroRuns as a Node.js server
GeneratePrerendered sites as static files
Postgres1 GB included on Free

What Lahyer does with it

How Nuxt builds and runs.

Lahyer fills these in from your repository. Change anything that does not fit in the project's build settings.

How Lahyer builds and runs Nuxt
Detected fromnuxt in your package.json dependencies
Installnpm, pnpm, Yarn or Bun, chosen from your packageManager field or lockfile
BuildYour build script, or nuxt build
Runs asA Node.js server from .output/. When the build script runs nuxt generate, static files from .output/public/
Node.js20 or 22, read from .nvmrc, .node-version or engines.node (22 by default)

Nuxt documentation

Your first deploy

Three steps
to a live URL.

Connect the repository.

Import it from GitHub or GitLab and choose the production branch.

Server or static, from your build script.

Keep nuxt build for server rendering and server routes. Change the build script to nuxt generate for a prerendered site.

Push and ship.

Every push deploys, pull requests get preview URLs, and runtime logs show what the server is doing.

A few useful answers

Before you begin.

Do Nuxt server routes work?

Yes, when you deploy with nuxt build. Routes in server/api run on the Nitro server Lahyer starts.

How does Lahyer choose between server and static?

From your package.json build script. If it runs nuxt generate, Lahyer serves the prerendered files. Otherwise it runs the server.

Will my app sleep on the free plan?

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.

Can my app use a database?

Yes. Add Postgres from the project's Database tab and Lahyer puts the connection string in DATABASE_URL for production and preview. Free includes one 1 GB database.