gpt4 book ai didi

javascript - 使用 Bower 和 Highcharts Shim 的 Chrome 开发编辑器

转载 作者:行者123 更新时间:2023-11-30 12:40:48 26 4
gpt4 key购买 nike

我正致力于在 Chrome Dev Editor 中设置 polymer 网络应用程序. bower.json 如下所示:

{
"name": "HighchartsTest",
"description": "",
"homepage": "",
"keywords": [
],
"author": "",
"private": true,
"dependencies": {
"polymer": "Polymer/polymer#master",
"core-elements": "Polymer/core-elements#master"
}

我无法让 Bower 拉下 highcharts shim(或 highstock)。我以为我可以做这种格式:

{
"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 下创建了一个名为 highstock-release 的目录,但它只包含一个没有实际源代码的 .git 目录。

我做错了什么?

最佳答案

我想你想要“highslide-software/highstock-release”

在你的 bower 配置中,依赖项在“github 语法”中,因此它们被扩展为“git://github.com/highslide-software/highstock-release”等。

关于javascript - 使用 Bower 和 Highcharts Shim 的 Chrome 开发编辑器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24514022/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com