Vercel
Pre-requisites:
- Vercel CLI:
npm install -g vercel
Vercel Setup
- In bash, login via the Vercel CLI
- Follow the prompts to log in to your Vercel account
- Go to the relevant package that you’re working on e.g.
cd packages/webto be in the package root. - In the package root, run
vercel link:Set up “~/my-project/packages/web”? [Y/n] y
Which scope should contain your project? [choose your team]
Link to existing project? [y/N] y
What’s the name of your existing project? my-project-web - To get the
.env, runvercel env pull
Starting the server
yarn dev- To run another package, open a new shell and repeat the Vercel Setup