问题描述
你如何比较 npm
、bower
和 volo
?
How do you compare npm
, bower
and 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 管理称为包的 JavaScript 模块,而 Bower 管理前端组件(即 css、html 和JavaScript) 称为组件.npm 也用于安装 bower.这是一篇关于 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!