Code, texts, projects and so on.
Install dependencies.
npm iInstall Vercel CLI.
npm i -g vercelLogin to Vercel and pull environment variables.
vercel env pullStart local dev server.
vercel dev| Key | Value | Where to set |
|---|---|---|
AIRTABLE_API_KEY |
... | Vercel (Prod, Preview, Dev) |
NPM_RC |
... | Vercel (Prod, Preview) |
- Edit
~/.npmrc:
//registry.npmjs.org/:_authToken=TOKEN_FOR_NPM
@kitcat-dev:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=TOKEN_FOR_GITHUB_PACKAGES- Add content of
~/.npmrcto Vercel:
vercel env add plain NPM_RC production < ~/.npmrc- Check Preview in Vercel Dashboard.