Skip to content

Commit

Permalink
rollback update to readme
Browse files Browse the repository at this point in the history
The original text was correct. The bower_components directory may physically (digitally) be located as a sibling to the parent of index.html, but when run from grunt serve or built using grunt build, the components inside are placed adjacent to index.html
  • Loading branch information
eddiemonge committed Jun 7, 2014
1 parent cfda6ef commit 0fb7d25
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 the parent of `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 `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 0fb7d25

Please sign in to comment.