Deploy to production

View source
Build and deploy Movk Nuxt Docs to Vercel or other hosting platforms, with details on the pnpm build command, the NUXT_GITHUB_TOKEN and AI_GATEWAY_API_KEY environment variables, and how Nitro automatically adapts to multi-platform deployment.

Build for production

pnpm build

The build output is located in the .output/ directory and includes both server-side and client-side code.

Vercel deployment

Automatic deployment

  1. Create a new project on Vercel
  2. Connect your Git repository
  3. Configure the environment variables:
    GITHUB_TOKEN=your-token
    AI_GATEWAY_API_KEY=your-key
    
  4. The deploy command defaults to nuxt build

Environment variables

VariablePurposeRequired when
GITHUB_TOKENGit integrationDisplaying commit history
AI_GATEWAY_API_KEYAI Chat featureUsing AI Chat
Copyright © 2024 - 2026