Skip to content

Instantly share code, notes, and snippets.

@vienhoang
Created August 6, 2014 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vienhoang/75de2be2d4d2ec24c11d to your computer and use it in GitHub Desktop.
Save vienhoang/75de2be2d4d2ec24c11d to your computer and use it in GitHub Desktop.
Bower: Quick Guide Setup
http://travismaynard.com/writing/getting-started-with-gulp
If node and npm is installed:
npm init | Create package json file for project Commands
bower init | Initialize Bower json file to make install dependcies for project easier for others
bower install #packageName | Install package
bower install jquery#versionNUmber | Install jQuery with a specific version
bower uninstall #packageName | Uninstall package
bower list --paths | List paths to use in project for installed packages
bowwer list | List installed package
bower search #packageName | Search package
Work flow
bower init
bower install #package --save | Install the package and update the json file
bower uninstall #package --save | Uninstall the package and update the json file
Create gulp.js file and setup the enviroment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment