Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.56 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.56 KB

harp-bootstrap

Bootstrap is a LESS library, providing a powerful front-end framework for faster and easier web development.

Dependencies

  • NodeJSServer-side JavaScript runtime
  • HarpThe static web server with built-in preprocessing

Install

To install Bootstrap, you can download this repository or use the Component package manager.

npm install -g component
component install harp/bootstrap

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
  |       …
  |- main.less              <-- where you reference Bootstrap 
  +- index.jade             <-- where you reference main.css

Link

Now, from within a .less file in your project, you can @import Bootstrap:

@import "components/harp-bootstrap/less/_bootstrap.less";

Or, just a portion of Bootstrap:

@import "components/harp-bootstrap/less/_variables.less";
@import "components/harp-bootstrap/less/_mixins.less";
@import "components/harp-bootstrap/less/_grid.less";

Resources

License

This component is Bootstrap, which is Apache 2.0 licensed.