Skip to content
fabien-d edited this page Feb 18, 2013 · 3 revisions

Alertify.js is developed using RequireJS and built using Grunt.

No dependencies are need to use alertify.js. They are removed during the built step.

Including alertify.js in your project

Using bower

Alertify.js can be installed using bower.

$ bower install alertify

Inserting into HTML

Include JS

<!-- ideally at the bottom of the page -->
<!-- also works in the <head> -->
<script src="PATH_TO_FILE/alertify.min.js"></script>

Include CSS

<!-- include the core styles -->
<link rel="stylesheet" href="PATH_TO_FILE/alertify.css" />
<!-- include a theme, can be included into the core instead of 2 separate files -->
<link rel="stylesheet" href="PATH_TO_FILE/alertify.default.css" />
Clone this wiki locally