Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 784 Bytes

README_EN.md

File metadata and controls

32 lines (19 loc) · 784 Bytes

中文文档

material-blocks

This repository used to store bizcharts blcok material.

block is an kind of react component, that used by classic scenes in our daily develop.

How to create new block

npm run add

This command will generate an new directory upon packages dir which contains a lots of file that needed by block.

How to develop block

cd packages/[block]

npm start

How to add tag to block

  • manually: modify block's package.json file blockConfig.categories field.
  • automatic: When you initial block first time, you will be asked to fill the categories field.

Note

Once the Merge request accepted by the maintainer, the new block will be compiled, and then show in the block gallery area.