forked from fabien-d/alertify.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
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.
Alertify.js can be installed using bower.
$ bower install alertify
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" />