Skip to content
This repository was archived by the owner on Mar 24, 2020. It is now read-only.
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:install to install packages
  • rake bower:update to update packages
  • rake bower:update:prune to update components and uninstall extraneous packages
  • rake bower:list to list all packages
  • rake bower:clean to remove all files not listed as main files (if specified)
  • rake bower:resolve to resolve relative asset paths in components

3. Add Reference:

Add scripts reference to app/assets/javascripts/application.js manifest

Clone this wiki locally