"devDependencies": {
"antd": "^3.19.1", //antd组件
import { Card, Button, Table, Form, Select,Modal, message } from 'antd';
const FormItem = Form.Item; const Option = Select.Option;
"Axios": "^ 0.18.0", // asynchronous
import axios from 'axios';
"Draftjs-to-html": "^ 0.8.4", the rich text editor into html: <p> Rich Text Label </ p>
Html tag becomes disposed // import draftjs from 'draftjs-to- html';
"React-draft-wysiwyg": "^ 1.13.2", Rich Text plug-in
import {EditorState} from 'draft-js'; // content rich text data values
"echarts": "^ 4.2.1" , chart
import echartTheme from './../echartTheme'; import echarts from 'echarts/lib/echarts'; // 导入柱状图 import 'echarts/lib/chart/bar'; 柱形 bar 折线 line k线 lines import 'echarts/lib/component/tooltip'; import 'echarts/lib/component/title'; import 'echarts/lib/component/legend'; import 'echarts/lib/component/markPoint'; import ReactEcharts from 'echarts-for-react'; |
"echarts-for-react": "^ 2.0.15-beta.0", the chart react with echarts
"less-Loader": "^ 5.0.0", less useless it
"react-router-dom": "^5.0.0", react 路由
import { HashRouter as Router,Route,Link} from 'react-router-dom';
"redux": "^ 4.0.1" , share data
"styled-components": "^ 4.2.0" I like the autonomy package label support less syntax
import styled from 'styled-components';
}