This repository was archived by the owner on Mar 24, 2020. It is now read-only.
-
Couldn't load subscription status.
- Fork 5
Bower
hweng edited this page Jun 30, 2014
·
3 revisions
1. Update JSON configuration:
bower.json file is created in damspas root directory, which specify the dependencies under lib or vendor to install them into the corresponding directories. Use Defining a package in bower.json as reference.
2. Run rake tasks:
Once you are done with bower.json, you can run:
-
rake bower:installto install packages -
rake bower:updateto update packages -
rake bower:update:pruneto update components and uninstall extraneous packages -
rake bower:listto list all packages -
rake bower:cleanto remove all files not listed as main files (if specified) -
rake bower:resolveto resolve relative asset paths in components
3. Add Reference:
Add scripts reference to app/assets/javascripts/application.js manifest