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

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.

主站蜘蛛池模板: 信宜市| 开江县| 博罗县| 林口县| 兴业县| 常熟市| 彭州市| 绥阳县| 阿坝县| 车致| 东安县| 延川县| 松溪县| 炎陵县| 北流市| 兴海县| 简阳市| 丹江口市| 浦城县| 开化县| 古交市| 吉木乃县| 大英县| 万宁市| 都昌县| 明星| 尼玛县| 华蓥市| 肥西县| 宝坻区| 丰城市| 葵青区| 富阳市| 灵台县| 中牟县| 清徐县| 栖霞市| 堆龙德庆县| 禹州市| 随州市| 伽师县|