-
Notifications
You must be signed in to change notification settings - Fork 116
Installation
Fatih Kadir Akın edited this page Apr 26, 2016
·
8 revisions
You can download minified files and start using in your project.
-
bricklayer.min.js(1.6KB) -
bricklayer.min.css(0.7KB)
Quick way to use Bricklayer is using CDN (Content Delivery Network). You can start adding these lines into your HTML file:
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bricklayer/<version>/bricklayer.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/bricklayer/<version>/bricklayer.min.js"></script>
<version>should be latest version of Bricklayer.
To install Bricklayer from NPM, you should run
npm install bricklayer --save
After installing npm package, you'll have Bricklayer function:
var Bricklayer = require("bricklayer");
var bricklayer = new Bricklayer(document.querySelector('.bricklayer'))To install Bricklayer from Bower, you should run
bower install bricklayer --save
After installing bricklayer, source files be downloaded to bower_components/bricklayer/dist
Just include them in your HTML file,
<link rel="stylesheet" href="./bower_components/bricklayer/dist/bricklayer.min.css">
<script src="./bower_components/bricklayer/dist/bricklayer.min.js"></script>And now you can start using Bricklayer class:
var bricklayer = new Bricklayer(document.querySelector('.bricklayer'))If you have any questions, please chat us on Gitter!
Copyright © Bricklayer.js - Adem İlter, Fatih Kadir Akın
- Quick Start
- Installation
- Examples
- Methods
- Events
- Responsiveness
- Plugins
- Frameworks
- License