Files
notes_estom/JavaScript/Bower/概述.md
2022-08-17 21:16:57 +08:00

7 lines
731 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Bower是一款优秀的包管理器它由Twitter公司开发支持以命令行的方式来对包进行搜索、下载、更新和卸载。
基于nodejs的模块化思想把功能分散到各个模块中让模块和模块之间存在联系通过 Bower 来管理模块间的这种联系。
bower 从一开始就是专门为前端表现设计的包管理器一切全部为前端考虑的。npm 和bower 的最大区别,就是 npm 支持嵌套地依赖管理,而 bower只能支持扁平的依赖嵌套的依赖由程序员自己解决
当然,bower 是运行在node.js 基础上,所以你的当前环境确保已经安装 node.js .一般来说npm管理后台的包bower管理前台的包