Install
Install Boostify in your project
In order to use Boostify you need to get a license, if you dont have it yet, please click here here
How To install it?
You can install Boostify.js using either bower or npm, depending on your preference:
Node.js
Install library from command line.
npm install boostify
import Boostify from 'boostify';
const boostify = new Boostify({
debug:true,
license:"YOUR-LICENSE-KEY",
})
UMD
Begin by creating a main.js
file within your project directory. Then, incorporate the latest version of Boostify from unpkg. Inside main.js
, insert the following code.
const boostify = new Boostify({
debug:true,
license:"YOUR-LICENSE-KEY",
})
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script src="https://unpkg.com/boostify@latest/dist/Boostify.umd.js"></script>
<script src="main.js"></script>
</body>
</html>
What’s Next?
With everything set up and operational, you have the flexibility to trigger events at the most opportune moments, inject scripts after the DOM has loaded, among other actions.
On This Page