官术网_书友最值得收藏!

Managing project dependency with Bower

We will need a number of libraries to manage a project dependency with Bower. In the web development context, we refer to a library as a collection of code, usually CSS and JavaScript, to add features on the website. Often, the website is dependent on a particular library for it to function its prime feature. As an example, if I built a website to convert currencies, the website will require Account.js (http://josscrowcroft.github.io/accounting.js/); it is a handy JavaScript library to convert regular numbers into currency format with the currency symbol.

It is common that we may add about five or more libraries on a single website, but maintaining all the libraries used in the website and making sure that they are all up-to-date could become cumbersome. This is where Bower is useful.

Bower (package manager. It is a handy tool that streamlines the way we add, update, and remove libraries or dependencies (libraries that are required for the project) in our project. Bower is a Node.js module, so we first have to install Node.js (http://nodejs.org/) on our computer to be able to use Bower.

主站蜘蛛池模板: 浦东新区| 商都县| 宁陕县| 美姑县| 饶阳县| 寻乌县| 汕头市| 怀集县| 蓬安县| 桑植县| 保靖县| 响水县| 张北县| 陇川县| 留坝县| 颍上县| 吕梁市| 西盟| 东方市| 武安市| 雷山县| 宜昌市| 中牟县| 青龙| 本溪市| 湖北省| 织金县| 库伦旗| 鄂托克旗| 尤溪县| 汉中市| 丰台区| 准格尔旗| 阜宁县| 五峰| 宜兰市| 兴和县| 和平区| 育儿| 万全县| 黄浦区|