我正致力于在Chrome Dev Editor中设置聚合物网络应用。 bower.json
看起来像这样:
{
"name": "HighchartsTest",
"description": "",
"homepage": "",
"keywords": [
],
"author": "",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#master",
"core-elements": "Polymer/core-elements#master"
}
我无法让凉亭拉下highcharts垫片(或者高脚垫)。我以为我可以做这种格式:
{
"name": "HighchartsTest",
"description": "",
"homepage": "",
"keywords": [
],
"author": "",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#master",
"core-elements": "Polymer/core-elements#master",
"highstock-release": "js/highstock-release"
}
但是,这只会在名为bower_components
的{{1}}下创建一个目录,但它只包含一个没有实际源代码的highstock-release
目录。
我做错了什么?
答案 0 :(得分:3)
我认为你想要" highslide-software / highstock-release"
在你的bower配置中,依赖关系是" github语法",因此它们被扩展为" git://github.com/highslide-software/highstock-release",等