如何将凉亭包括在内? [英] How to include highcharts with bower?
问题描述
我想用highcharts。我做了 bower install highcharts.com
(建议使用 highcharts.com 。
I would like to use highcharts. I did bower install highcharts.com
(highcharts recommends using highcharts.com.
然而,我不知道是什么包含在我的html文件中,我在猜测 bower_components / highcharts.com / js / highcharts.src.js
但这是一个巨大的文件,它会减缓构建过程如果我把它缩小到每一个构建...
However, I have no idea what to include in my html file. I am guessing bower_components/highcharts.com/js/highcharts.src.js
. But this is a huge file, and it will slow the build process if I minify it every build...
我应该如何包含highcharts与鲍尔?
How should I include highcharts with bower ?
推荐答案
我遇到了同样的问题,您可以为highcharts执行以下操作:
I ran into the same problem you can do the following for highcharts
bower install highcharts-release p>
bower install highcharts-release
并获得高房价,您可以做到这一点
and to get highstock you can do this
bower install highstock-release
bower install highstock-release
您将包含以下其中一项:
and you would include one of the following
'/bower_components/highcharts-release/highcharts.js'
'/bower_components/highstock-release/highstock.js'
这篇关于如何将凉亭包括在内?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!