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
andvercel
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 cacheyarn cache clean yarn cache clean --mirror
-
Clean
umi
build artifactsrm -r src/.umi*
-
Rebuild dependencies
yarn rebuild