默认的(官方的)Bower注册表URL是什么? [英] What is the default (official?) Bower registry URL?

查看:145
本文介绍了默认的(官方的)Bower注册表URL是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

主要的Bower注册表URL是什么?



我们正试图将Bower设置为首先使用我们的注册表,然后再使用官方 Bower注册表。 / p>

我们基于[bower / registry] 1 。效果很好。



基于此文档,看来我们需要创建一个包含一系列注册表的.bowerrc文件,例如

  {
registry:{
search:[
http:// myCustomRegistry / api,
theMainBowerRegistry
]
}
}

可以很好地使用我的自定义注册表,但是我不能查找主要Bower注册表的URL。有人吗?

解决方案

默认注册表URL是=> https://bower.herokuapp.com


What is the main Bower registry URL?

We're trying to set up Bower to use our registry first, then the "official" Bower registry second.

We've created our own little Bower registry based on the endpoints exposed in [bower/registry]1. Works great.

Based on this doc, it looks like we need to create a .bowerrc file with an array of registries like

{
  "registry": {
    "search": [
      "http://myCustomRegistry/api",
      "theMainBowerRegistry"
    ]
  }
}

Works fine for use my custom registry, but I can't find the URL for the main Bower registry. Anyone?

解决方案

The default registry URL is => https://bower.herokuapp.com

这篇关于默认的(官方的)Bower注册表URL是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆