/ant-blocks

Extended blocks of Ant Design Pro

Primary LanguageTypeScriptMIT LicenseMIT

pro-blocks

Build Status

中文 README

umi blocks of Ant Design Pro.

A part of Ant Design Pro V4, still in progress.

dev

Usage

umi block add [the github url of block]

You can visit umi doc for find out more info about umi block.

Contribute

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"