[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/