Guides
Nuxt

Deploy Nuxt App

Deploy your Nuxt app in Zeabur.

Step 1: Create Nuxt app (optional)

Open your terminal and run the following command to create a new Nuxt app.

pnpm dlx nuxi init <project-name>

Then, install the dependencies:

pnpm install --shamefully-hoist
ℹ️

Because pnpm uses another way to manage dependencies, you need to use --shamefully-hoist flag to install dependencies. If using pnpm, make sure to have .npmrc with shamefully-hoist=true inside it before deploying.

.npmrc
shamefully-hoist=true

Step 2: Deploy

Click on Add new service button, then choose Deploy your source code.

deploy

Search for your Nuxt App repository, click on import, your Nuxt App will start deploying.