CropGuide SDK for Browsers
OfficialInstallation
Install NPM package.
npm i @cropguide/browser --save
Usage
Import the CropGuide module and run it as soon as possible in your app.
Replace ABC123
with your CropGuide key.
Pass debug
property as option and set to true
to enable debug mode.
See CropGuide configuration options for info on possible configuration options.
import CropGuide from '@cropguide/browser';
CropGuide('ABC123', {
// CropGuide options
// ...
})
.then(() => {
// CropGuide init fired
})
.catch(() => {
// Something went wrong
});