Skip to content

Commit

Permalink
Merge pull request #386 from neilhem/patch-1
Browse files Browse the repository at this point in the history
Fix components relative path
  • Loading branch information
silvenon committed Jun 7, 2014
2 parents c02350c + aad1bf3 commit cfda6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This works if the package author has followed the [Bower spec](https://github.co

To manually add dependencies, `bower install --save depName` to get the files, then add a `script` or `style` tag to your `index.html` or another appropriate place.

The components are installed in the root of the project at `/bower_components`. To reference them from index.html, use `src="bower_components"` or `src="/bower_components"`. Treat the `bower_components` directory as if it was a sibling to `index.html`.
The components are installed in the root of the project at `/bower_components`. To reference them from index.html, use `src="../bower_components"` or `src="/bower_components"`. Treat the `bower_components` directory as if it was a sibling to the parent of `index.html`.

*Testing Note*: a project checked into source control and later checked out needs to have `bower install` run from the `test` folder as well as from the project root.

Expand Down

0 comments on commit cfda6ef

Please sign in to comment.