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.
pnpm install
pnpm deploy:vercel
- You may need to log in to your Vercel account during the pnpm deploy:vercel process.
- 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.
- You can reuse the
wrangler.toml
configuration file of Cloudflare Workers, just need to executepnpm run vercel:syncenv
to synchronize environment variables to Vercel. After Vercel modifies the environment variables, a redeployment is required for them to take effect.