This project is initialized with Ant Design Pro and Vercel.
You should have node
16 installed: brew install node@16
or use a node version manager.
Install yarn
and vercel
npm i -g yarn vercel
Install dependencies
yarn --immutable
Link vercel project (must have vercel project connected to repo)
vercel link
Download the environment variables
vercel env pull
vercel dev -l 8000
Clean yarn
local or global cache
yarn cache clean
yarn cache clean --mirror
Clean umi
build artifacts
rm -r src/.umi*
Rebuild dependencies
yarn rebuild