Installation
This section will walk you through the steps required to set up ReqEase in your project. You have multiple installation options to choose from, so pick the one that suits your project best.
Installation Instructions
Using package manager (Module Environment) (Recommended)
Install ReqEase
Create a Custom ReqEase calling (optional)
import ReqEase from '@reqease/reqease';
const defaultOptions = {
...
};
class MyCustomReqEase {
reqEaseInstance;
constructor(exceptionalOptions) {
let options = $.extend(true, defaultOptions, exceptionalOptions);
this.reqEaseInstance = new ReqEase(options);
}
getReqEaseInstance() {
return this.reqEaseInstance;
}
}
// Now, you can use MyCustomReqEase throughout your website instead of ReqEase.Using static script tags
Last updated
Was this helpful?