Browse files

Updating docs for #460, minor comment tweak for bower test

  • Loading branch information...
1 parent 5e03a4f commit f91b5aef4ba8c28a11ed9279d80734e6244f553d @addyosmani addyosmani committed Sep 24, 2012
Showing with 13 additions and 3 deletions.
  1. +1 −1 cli/test/test-bower.js
  2. +12 −2 docs/cli/commands/
2 cli/test/test-bower.js
@@ -41,7 +41,7 @@ describe('Bower install packages', function() {
- it('should have copied resolved components to app/scripts/vendor', function(done) {
+ it('should have copied resolved components to app/components', function(done) {
var ctx = this;
bower.list({ map: true })
.on('error', done)
14 docs/cli/commands/
@@ -6,15 +6,25 @@ Usage: `yeoman install <packageName>`, `yeoman install <package1> <package2>`
Installs a package and any packages that this depends on using Twitter Bower. A package is a folder containing a resource described by a package.json file or a gzipped tarball containing this information.
-Running yeoman install packageName will install the dependencies in your projects browser_modules folder.
+By default, running `yeoman install packageName` will install the dependency in your projects `app/components` folder.
{% highlight sh %}
-yeoman install jquery
+yeoman install backbone
+# or if you wish to install multiple packages at once..
yeoman install jquery spine
{% endhighlight %}
+As mentioned, the files for these dependencies will be added to `app/components`. If you wish to use any of them you will need to manually include a script/file reference to the relevant source files.
+{% highlight sh %}
+&lt;script src="components/spine/lib/spine.js" &gt;&lt;/script&gt;
+{% endhighlight %}
If installing a dependency which has its own dependencies described, these dependencies will also be pulled in.

0 comments on commit f91b5ae

Please sign in to comment.