An open API service indexing awesome lists of open source software.

https://github.com/funlee/react-echarts

combine React and Echarts
https://github.com/funlee/react-echarts

echarts react react-router-v4 webpack3

Last synced: about 2 months ago
JSON representation

combine React and Echarts

Awesome Lists containing this project

README

          

react-echarts
=============
结合 [React](https://reactjs.org 'React') 和 [Echarts](http://echarts.baidu.com/index.html 'Echarts') 写点 demo

在线预览:[请戳](http://show.funlee.cn/react-echarts/index.html '在线预览')

技术栈
------
* [React](https://reactjs.org 'React')
* [React Router](https://reacttraining.com/react-router/web/guides/philosophy 'React Router')
* [Echarts](http://echarts.baidu.com/index.html 'Echarts')

安装
----
```bash
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 ](https://github.com/guyellis/learn/issues/205 'about React Router')
* use exact

参考资料
-------------
* [React简单封装ECharts饼图](https://github.com/axuebin/react-echarts-demo 'react-echarts-demo')
* [echarts-for-react](https://github.com/hustcc/echarts-for-react 'echarts-for-react')