From ee5533220ffb88c79fb6565b262bdbee9d03cd1d Mon Sep 17 00:00:00 2001 From: Patrick Beeson Date: Mon, 27 Oct 2014 07:42:59 -0400 Subject: [PATCH] Update Readme.md Path to where components are installed was incorrect. I've also corrected how one references the files from within their less file. --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f8d36b823cb5..93b52935de56 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,9 @@ Your project will look something like this… ``` myproject/ <-- your project root (or public dir if in framework-mode) |- components/ <-- harp puts components here - | +- harp-bootstrap/ <-- where this lib gets installed - | … + | +- harp/ <-- where this lib gets installed + | +- bootstrap/ + | … |- main.less <-- where you reference Bootstrap +- index.jade <-- where you reference main.css ``` @@ -32,15 +33,15 @@ myproject/ <-- your project root (or public dir if in framework Now, from within a `.less` file in your project, you can `@import` Bootstrap: ```less -@import "components/harp-bootstrap/less/_bootstrap.less"; +@import "components/harp/bootstrap/3.0.2/less/bootstrap.less"; ``` Or, just a portion of Bootstrap: ```less -@import "components/harp-bootstrap/less/_variables.less"; -@import "components/harp-bootstrap/less/_mixins.less"; -@import "components/harp-bootstrap/less/_grid.less"; +@import "components/harp/bootstrap/3.0.2/less/_variables.less"; +@import "components/harp/bootstrap/3.0.2/less/_mixins.less"; +@import "components/harp/bootstrap/3.0.2/less/_grid.less"; ``` ## Resources @@ -51,4 +52,4 @@ Or, just a portion of Bootstrap: ## License -This component is [Bootstrap](http://github.com/twbs/bootstrap), which is Apache 2.0 licensed. \ No newline at end of file +This component is [Bootstrap](http://github.com/twbs/bootstrap), which is Apache 2.0 licensed.