简体   繁体   English

使用Bower-rails安装时应使用哪个版本的Bower软件包名称

[英]Which version of the Bower package name should be used when installing with bower-rails

Some package names, eg FitVids use camelcased spelling for their github repository, yet when you search the Bower repository for them, eg http://bower.io/search/?q=FitVids , it returns an all lower case name. 一些软件包名称,例如FitVids在其github存储库中使用驼峰式拼写,但是当您在Bower存储库中搜索它们时,例如http://bower.io/search/?q=FitVids ,它将返回一个全小写的名称。

It has been my experience that if you install with the wrong name, you can end up with subtle bugs, eg fitvids loads in development but does not precompile on heroku 根据我的经验,如果使用错误的名称进行安装,可能会遇到一些细微的错误,例如, fitvids在开发中加载但未在heroku上进行预编译

Which name should I use when installing with bower-rails? 使用Bower-rails安装时应使用哪个名称?

I think that correct way is to use the registered name for a component, lower cased for FitVids example. 我认为正确的方法是使用组件的注册名称,在FitVids示例中使用小写字母。 Also, see the related thread on Github 另外,请参阅Github上的相关线程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM