Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f91b5aef4ba8c28a11ed9279d80734e6244f553d 1 parent 5e03a4f
@addyosmani addyosmani authored
Showing with 13 additions and 3 deletions.
  1. +1 −1  cli/test/test-bower.js
  2. +12 −2 docs/cli/commands/install.md
View
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)
View
14 docs/cli/commands/install.md
@@ -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.
Example:
{% 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.
+
+Example:
+
+{% 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.
Example:
Please sign in to comment.
Something went wrong with that request. Please try again.