Nuxt 2 is reaching End-of-Life on June 30th, 2024.
Deploy

Render

Deploy your Nuxt Application to Render infrastructure.

Nuxt supports deploying on Render with minimal configuration.

Set up application

  1. Create a new Web Service and select the repository that contains your code.
  2. Ensure the 'Node' environment is selected.
  3. Depending on your package manager, set the build command to yarn && yarn build, npm install && npm run build, or pnpm i --shamefully-hoist && pnpm build.
  4. Update the start command to node .output/server/index.mjs
  5. Click 'Advanced' and add the following environment variables
    SERVER_PRESET=render_com
    NODE_VERSION=20
    
  6. Click on Create Web Service.

More options

Head over Nitro documentation to learn more about the Render deployment presets.