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

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.

主站蜘蛛池模板: 澄迈县| 报价| 宜兰市| 泽库县| 务川| 乐亭县| 高雄县| 吴堡县| 肇庆市| 交城县| 师宗县| 淳安县| 枣强县| 且末县| 广河县| 中牟县| 钦州市| 泰宁县| 互助| 若尔盖县| 丰顺县| 曲沃县| 榆中县| 金沙县| 中西区| 新泰市| 成都市| 蓝田县| 玉树县| 沭阳县| 六枝特区| 泰顺县| 巩留县| 奎屯市| 池州市| 凉山| 美姑县| 望江县| 随州市| 顺昌县| 弥渡县|