[Node. js learning] -- (5) -- Bower, node. js ---- bower

Source: Internet
Author: User

[Node. js learning] -- (5) -- Bower, node. js ---- bower

 

Use bower to install Dependencies

NPM is the meaning of Node. js PackageManager. bower is another open-source project of twitter, which is developed using nodejs for web package management.

Install bower

Npm install bower-g

 

Reference http://blog.fens.me/nodejs-bower-intro/

Check

Cache: bower cache Management

Help: displays the help information of the Bower command.

Home: Open the github release page of a package in a browser.

Info: View package information

Init: Create a bower. json File

Install: install the installation package to the Project

Link: Create a Project link in the local bower Library

List: list packages installed in the project

Lookup: query the package URL Based on the package name

Prune: delete project-independent packages

Register: register a package

Search: search package

Update: update the project package.

Uninstall: Delete the project package

 

Reconstruction Project

Express-e nodejs-bower

 

Install

Cd nodejs-bower & npm install

Install JQuery

Bower install jquery

 

View Installation

Ls bower_components/jquery-

 

Install D3

Bower install d3

Install bootstrap

Bower install bootstrap


View Project Dependencies

Bower list

 

Reference http://blog.fens.me/nodejs-bower-intro/

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.