- clone the project or install by bower:
$ bower install http://gitlab.pro/bdg/echarts.git
After installed, you can use it:
in fis ENV
var echarts = reuqire("echarts");
require("echarts/bar");
var ec = echarts.init(el);
ec.setOption({});
// async
require.async([
"echarts"
, "echarts/bar"
], function(echarts) {
var ec = echarts.init(el);
ec.setOption({});
});
- install deps
$ npm i -g bower gulp; npm i
- update & rebuild
$ gulp