umi blocks of Ant Design Pro.
A part of Ant Design Pro V4, still in progress.
umi block add [the github url of block]
You can visit umi doc for find out more info about umi block.
npm i
# PAGES_PATH env set the block src path which you want to dev
PAGES_PATH=DashboardWorkplace/src npm start # for mac
npx cross-env PAGES_PATH=DashboardWorkplace/src umi dev # for windows
In complex typescript definitions, vscode may crash or tslint reports an error. You can restart the typescript service by "ctrl+shift+p > reload window"