JavaScript依赖管理:npm vs. bower vs. volo [英] JavaScript dependency management: npm vs. bower vs. volo
问题描述
你如何比较 npm
, bower
和 volo
?
这三个都可用于为UI项目安装JavaScript依赖项。
我理解 npm
更多节点特定。
All three can be used to install JavaScript dependencies for a UI project.
I understand npm
is more node specific.
那么,何时使用什么?
npm
仍然遥远,但 bower
和 volo
似乎解决了完全相同的问题,虽然我无法在 npm
和之间画一条线bower-volo
。
npm
still stands distant, but bower
and volo
seem to be solving exactly the same problem, although I am not able to draw a line between npm
and bower-volo
.
推荐答案
最能描述npm和bower之间区别的描述是:npm管理名为packages的JavaScript模块,Bower管理称为组件的前端组件(即css,html和JavaScript)。 npm也用于安装凉亭。这是一个关于npm和bower的广泛的文章(不包括volo)它进入了很多细节。
A description that best describes the difference between npm and bower is: npm manages JavaScript modules called packages and Bower manages front-end components (i.e. css, html, and JavaScript) called components. npm is also used to install bower. Here is an expansive article on npm and bower (does not cover volo) it goes into plenty of detail.
这篇关于JavaScript依赖管理:npm vs. bower vs. volo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!