Sunday, April 23, 2017

Bower workflow

To create bower.json file and place dependencies in it:
bower init 
bower install bootstrap --save
bower install bootstrap-select --save
bower list -p
Push to (remote) repository and make sure that you place bower_components in your .gitignore file.

after checkout on other machine
cd project_name/
bower install
this will download bower components to your working folder

No comments:

Post a Comment