No Dockerfile
The platform detects Vue from package.json, picks the build and start commands, and lists the environment variables your code reads.
Vue deploy guide · Agent Lab Deploy
Upload your Vue project as it is — no Dockerfile — or tell Claude Code, Codex or Cursor "deploy this". Agent Lab builds it into a static web page on the CDN, gives every version a preview URL with rollback, and checks uploads for leaked keys. Apps and databases run on Google Cloud in Taiwan.
> deploy this Vue app
sites_createmy-vue
sites_deployVue detected
sites_deploy_statusbuilt · secret scan passed
Live at my-vue--acme.hosting.agentlab.run
Why deploy Vue on Agent Lab
JavaScript / TypeScript project, built from source with no Dockerfile, deployed as a static web page on the CDN.
The platform detects Vue from package.json, picks the build and start commands, and lists the environment variables your code reads.
Every upload is a new version with its own URL. Look first, then go live; switch back to any version in one click.
Uploads are checked for API keys and credentials before they can go live. Secrets go in the console, never in the code.
Create a database and connect it; the connection is written into the app's environment and the password is never shown.
Your options
Scroll the table sideways.
| What you care about | Agent Lab Deploy | Your own VPS |
|---|---|---|
| Setup | Upload or say one sentence; no Dockerfile | SSH, a runtime, a process manager, a reverse proxy |
| HTTPS and domains | Automatic, custom domains on paid plans | Certbot and DNS by hand |
| Preview and rollback | Every version has its own URL; roll back in one click | Write your own scripts |
| Before going live | Uploads checked for leaked keys | Nothing unless you set it up |
| Database | PostgreSQL in one click, connection written into the app | Install and back it up yourself |
| Cost to start | Free plan: NT$0, one size-S app (sleeps when idle) | A VPS at roughly NT$200–600 a month, plus your time |
Steps
Keep package.json at the top of the project and commit the lockfile. Leave out node_modules, .git, dist and .env.
Drop the folder on a project's Deploy tab, push from GitHub, or ask your AI tool through Agent Lab MCP.
The platform builds the version and checks it for leaked keys. Enter any secrets it lists in Settings.
The first version goes live once it builds. Later ones get a preview URL; go live when you're happy.
Setup
Vue projects (Vite or Vue CLI) deploy as a static web page on the CDN, and Vue Router's history mode works. For server rendering use Nuxt; the platform detects it the same way.
# Agent Lab 偵測到 Vite + Vue(或 Vue CLI)後執行
# What Agent Lab runs once it detects Vite + Vue (or Vue CLI)
npm ci
npm run build # vite build → dist/
# dist/ 放上 CDN;Vue Router 的 history mode 路由都回 index.htmlVITE_* baked into the page at build time and visible to anyone; never put a secret here.Read https://app.agentlab.cresclab.com/agent/deploy.md and deploy this Vue project to Agent Lab. Show me the build plan and the environment variables it needs first, tell me where to enter any secrets, and wait for my OK before it goes live.FAQ