Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.11 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.11 KB

Twitter Bootstrap for Adobe CQ / AEM

This task installs the latest Twitter Bootstrap frontend library as cq client library. It uses the grunt task runner and the grunt-sling-content plugin from https://github.com/francescomari/grunt-sling-content

Installation Requirement

Installation

  1. Edit the constants in Gruntfile.coffe for your local CQ environment
  2. Install grunt-cli globally with npm install -g grunt-cli.
  3. Install the necessary local dependencies via npm install
  4. Run grunt

Test

Call sample page at http://YOUR-CQ-HOSTNAME:AND-PORT/libs/bootstrap/content/example.html

Using

<html lang="en">
  <head>
    <cq:includeClientLib css="bootstrap" />
    <title>Bootstrap Example</title>
  </head>
  <body>
  <div class="container">
....
  </div>
    <cq:includeClientLib js="bootstrap" />
  </body>
</html>

Authors

Burkhard Pauli

Copyright and license

Copyright 2013 Burkhard Pauli under the Apache 2.0 license.