在Hexo中使用echarts
使用插件hexo-tag-echarts3,该插件已经被收录到echart的插件中
Install
1 | $ npm install hexo-tag-echarts --save |
Usage
1 | {% echarts 400 '85%' %} |
Bug
在所用主题目录下<font color=#c7254e>layout\_partial</font>中的
head.swig里加入:
1 | <script src="http://echarts.baidu.com/dist/echarts.common.min.js"></script> |