Deployment

Deploy your shadcn-docs-nuxt application.

Static Hosting

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.

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

Run generate

npm
pnpm
bun
yarn
npm run generate

Deploy

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

SSR Server

Run build

npm
pnpm
bun
yarn
npm run build

Deploy

node .output/server/index.mjs