This project is initialized with [Ant Design Pro] 图表代码生成器 工作中用到图表配置的内容很多,所以开发一套通过页面控制图表样式,进而生成代码的工具。 模块: 组件:1、详细配置(柱图设置、颜色配置、图例配置、网格配置、标题配置、x轴配置、y轴配置) 2、基础配置 3、画布配置 4、代码内容 5、颜色选择器 6、页面头部 7、目录配置 页面:1、首页 2、图表配置(柱图、线图...后续增加)
Install node_modules
:
npm install
or
yarn
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
Scripts provided in package.json
. It's safe to modify or add additional script:
npm start
npm run build
npm run lint
You can also use script to auto fix some lint error:
npm run lint:fix
npm test