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
- Host: GitHub
- URL: https://github.com/funlee/react-echarts
- Owner: funlee
- Created: 2018-01-29T14:00:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T03:47:38.000Z (over 8 years ago)
- Last Synced: 2025-06-01T10:00:09.833Z (about 1 year ago)
- Topics: echarts, react, react-router-v4, webpack3
- Language: JavaScript
- Homepage: http://show.funlee.cn/react-echarts/index.html
- Size: 201 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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')