Installation
Standalone
Unzip master.zip
and add a script
tag to the library before the end of your closing <body>
tag
<script src="path/to/approve.min.js"></script>
cdnjs
Add a script
tag to the library CDN url before the end of your closing <body>
tag
<script src="https://cdnjs.cloudflare.com/ajax/libs/approvejs/[version]/approve.min.js"></script>
Get the cdn urls from here
Many thanks to cdnjs who kindly hosts ApproveJS through a reliable CDN
Bower
In your terminal run:
$ bower install approvejs
Add a script
tag to the library before the end of your closing <body>
tag
<script src="bower_components/approvejs/dist/approve.min.js"></script>
Node
In your terminal run:
$ npm install approvejs
or if you’re using Yarn
$ yarn add approvejs
Require approvejs
.
var approve = require('approvejs');