---
title: "Deployment"
description: "Deploy your Nuxt Starter Kit application."
canonical_url: "https://lab.nnsvn.me/docs/getting-started/deployment"
---

> Index of every page on this site: [llms.txt](https://lab.nnsvn.me/llms.txt)

## Static Hosting

<ct-steps :level="4">

#### Config `site.url` in `nuxt.config.ts` or `.env`

OG Images must be served with absolute URLs, you will need to provide a Site URL.

<ct-code-group>

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  site: {
    url: 'https://example.com',
  },
};
```

```dotenv [.env]
NUXT_SITE_URL=https://example.com
```

</ct-code-group>

#### Run generate

<ct-pm-run script="generate">



</ct-pm-run>

<ct-alert icon="lucide:triangle">

On Vercel, set **Build Command** to `nuxt generate` in **Build & Development Settings**.

</ct-alert>

#### Deploy

You can now deploy the `.output/public` directory to any static hosting service or preview it locally with `npx serve .output/public`.

</ct-steps>

## SSR Server

<ct-steps :level="4">

#### Run build

<ct-pm-run script="build">



</ct-pm-run>

#### Deploy

```shell
node .output/server/index.mjs
```

</ct-steps>

## Sitemap

See the full [sitemap](https://lab.nnsvn.me/sitemap.md) for all pages.
