跳到正文
Vercel Blog(vercel.com)· TMO·· 6 天前精選AI 評分63

Vercel CLI 允許未註冊帳戶即時部署應用

Deploy without an account using Vercel CLI

AI 導讀

Vercel CLI 允許開發者在未註冊帳戶時即時部署應用,並提供一小時有效期的臨時 URL。

  • 部署方式:在未連結 Vercel 的專案目錄中執行 vercel deploy --temporary 或 vercel deploy --temporary prototype.html 即可。
推薦理由

Vercel CLI 允許開發者在未註冊帳號時快速部署測試版,降低上手門檻,對前端原型分享流程帶來便利。

正文 · 原文

You can now deploy apps to Vercel without an account using Vercel CLI. Share prototypes faster with a live URL before signing in to claim your project.

From a project directory that isn't linked to Vercel, run:

# Deploy the current project

vercel deploy --temporary

# Deploy a single file

vercel deploy --temporary prototype.html

Deploying a project or single file without a Vercel account

The CLI builds your project locally when needed and returns a deployment URL you can share.

Temporary deployments use the dedicated tmp.now domain, separate from vercel.app, and expire after one hour unless claimed.

To keep your project live, open the claim link in the CLI output and sign in or create an account. Keep this link private.

Read the Vercel CLI documentation to get started.

來源: Vercel Blog (vercel.com)
開啟原文