react-echarts 结合 React 和 Echarts 写点 demo 在线预览:请戳 技术栈 React React Router Echarts 安装 git clone https://github.com/funlee/react-echarts.git cd react-echarts npm install npm start 然后在浏览器里输入:http:localhost:8080 即可访问 踩坑记录 You tried to redirect to the same route use exact 参考资料 React简单封装ECharts饼图 echarts-for-react