Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.37 KB

VERCEL.md

File metadata and controls

17 lines (12 loc) · 1.37 KB

Deploy using Vercel (Experimental)

The sample code provided in /packages/app/vercel can complete the Vercel deployment and basic functionality testing. However, it cannot guarantee that all features will work normally.

Automatic Deployment

Deploy with Vercel

Manual deployment

pnpm install
pnpm deploy:vercel
  1. You may need to log in to your Vercel account during the pnpm deploy:vercel process.
  2. For the first deployment, due to missing environment variables, the page will report errors. You need to manually go to the Vercel console to add environment variables, and then redeploy to take effect.
  3. You can reuse the wrangler.toml configuration file of Cloudflare Workers, just need to execute pnpm run vercel:syncenv to synchronize environment variables to Vercel. After Vercel modifies the environment variables, a redeployment is required for them to take effect.