We suggest different ways of including Flexmonster in your project. This guide describes all of them:
The most convenient way to get Flexmonster Pivot is Flexmonster CLI — a command-line interface tool for Flexmonster. Install the CLI globally using npm:
npm install -g flexmonster-cli
After that, a new flexmonster
command will be available in the console. Learn more about Flexmonster CLI and its commands in our documentation.
Now it’s time to get Flexmonster Pivot.
Get Flexmonster for your project by running the appropriate command from the folder with package.json
:
flexmonster add flexmonster
This command will download Flexmonster to node_modules/
and add it as a dependency to the package.json
file.
Now it’s time to start using Flexmonster in your project – see our quick start guide.
flexmonster add ng-flexmonster
This command will download the Flexmonster Angular module to node_modules/
and add it as a dependency to the package.json
file.
Now it’s time to start using Flexmonster in your Angular project – see our guide.
flexmonster add react-flexmonster
This command will download the Flexmonster React module to node_modules/
and add it as a dependency to the package.json
file.
Now it’s time to start using Flexmonster in your React project – see our guide.
flexmonster add vue-flexmonster
This command will download the Flexmonster Vue module to node_modules/
and add it as a dependency to the package.json
file.
Now it’s time to start using Flexmonster in your Vue project – see our guide.
Get Flexmonster easily by including the files directly from our CDN.
Use the latest version of the component:
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
Use the exact version of the component:
<script src="https://cdn.flexmonster.com/2.8.16/flexmonster.js"></script>
To learn how to embed Flexmonster in your web page, refer to our quick start guide.
The most convenient way to get Flexmonster Pivot is Flexmonster CLI — a command-line interface tool for Flexmonster. Install the CLI globally using npm:
npm install -g flexmonster-cli
Now download the Flexmonster Pivot package with the following CLI command:
flexmonster create javascript
This command will download the .zip
archive with Flexmonster Pivot and automatically unpack the files in the current folder.
As a result, the flexmonster-javascript-project/
folder will appear in your working directory. Open it and copy the flexmonster/
folder into the root of your web project.
Note: to use a trial version of Flexmonster, you will need to set a trial key. It can be found in the flexmonster-javascript-project/TrialKey.txt
file. Copy the contents of the file and set the trial key via the licenseKey
initialization parameter:
var pivot = new Flexmonster({
container: "pivotContainer",
licenseKey: "XXXX-XXXX-XXXX-XXXX-XXXX"
});
To embed Flexmonster in your project, see the quick start guide.