Vue and Nuxt deployment guide # Deploy vue and Nuxt on Deplomo Deploy Vue and Nuxt on Deplomo for Vue single-page apps and Nuxt SSR. Connect from Git or the CLI, build automatically, and configure environment variables and a domain. Deploy your Vue project. Short answer directionDeploy vue For single-page apps or Nuxt, build the container and connect a domain in minutes. To see hosting options, go to the [Vue hosting](/products/vue) and comprehensive section [Deployment guide](/guides) refer to Last reviewed:6 September 2026 ## Prepare your project for Deploy vue Add the project dependency files, `package.json and lockfile` to your Git repository. Default build and run commands for this stack: ``` # Build command npm ci && npm run build # Run command node .output/server/index.mjs ``` For Nuxt, set NITRO_HOST=0.0.0.0 and NITRO_PORT=$PORT. Serve a Vue SPA as static files. ## Automatic deployment directly from the Git repository - Create a new project and environment in the Deplomo user panel. - Connect the service to the GitHub or GitLab repository and the desired branch. - Set the build and run commands to match your project. - Set the required environment variables, then deploy. - Connect your custom domain in the Domains section and use free SSL. ## Deploy a local folder with Deplomo CLI ``` curl -fsSL https://get.deplomo.com/install.sh | sh deplomo login cd your-project deplomo deploy deplomo logs ``` Use the Deplomo CLI to deploy local code directly without pushing it to Git. On Windows (PowerShell), use `irm https://get.deplomo.com/install.ps1 | iex` instead of the first command. ## Production tips for Vue and Nuxt - Decide between SPA output and Nuxt SSR before deploying. - Separate public variables and secrets in runtimeConfig. - Configure SPA route fallback for Vue Router. - Check the health check and startup time before routing live traffic. - Store persistent data and user files on persistent disks or cloud storage. ## Frequently asked questions ### How do I deploy Vue and Nuxt on Deplomo? For Vue and Nuxt SSR projects, the system reads the package files and deploys the server-rendered or single-page app. ### What are the benefits of hosting a Vue project? Vue project assets are served from fast disks to reduce page load times.